Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1566

Client sends cookie only just after server sends Set-Cookie header

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0
    • Fix Version/s: None
    • Component/s: transport/http
    • Labels:

      Description

      Client sends cookie only just after server sends Set-Cookie header

      1. client requests to server without cookies
      2. server responses with set-cookie header
      3. client requests with cookie //OK
      4. server responses without set-cookie headers
      5. client requests without cookies // I think client should send cookie.

      I removed below lines from http_sender.c and that makes client to send cookie but I don't know that is a proper fix.

      if(!set_cookie_header_present) /* We need to remove any cookie set previously for this endpoint */

      { axis2_http_transport_utils_store_cookie(env, msg_ctx, NULL); }

        Attachments

        1. patch
          0.2 kB
          Michał Gazda

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              suzukia Akira Suzuki
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: