Menu

#472 Curl send bad request with SSL via proxy

closed-invalid
http (206)
7
2013-06-21
2004-12-21
No

It looks like some memory overrun.
Sometimes when using SSL via proxy, curl send junk in
GET method line.

For example like this one:

GET http://Proxy-Connection: close
HTTP/1.0

Host: Proxy-Connection: close

Curl version: curl-7.12.2

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2004-12-21
    • labels: 101476 --> http
     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-21
    • milestone: 102394 --> bad_behaviour
    • priority: 5 --> 7
     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-21

    Logged In: YES
    user_id=1110

    When? How?

    Can you please provide full source code to a program that
    makes this happen?

    Only when doing GET? Only when setting 1.0?

     
  • Pavel Orehov

    Pavel Orehov - 2004-12-21

    Logged In: YES
    user_id=1182306

    1.0 or 1.1 not affected in SSL via proxy (bug 1089012), it
    always send 1.0.

    When doing GET after tunnel to proxy has opened with
    CONNECT method.

    I can't give a code that use it, it is a little part of big project.

    I am using curl_set_opt when url include "https://" and use
    curl_multi_perform to send request.

     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-21

    Logged In: YES
    user_id=1110

    You don't have to give us the original code, just write up a
    new example program that shows the problem happening.

    If we can't repeat it, we need a much more detailed report
    and traces to be able to track this down.

     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-22

    Logged In: YES
    user_id=1110

    I don't believe this is an actual bug in libcurl and there's
    no response from Pavel.

     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-22
    • status: open --> closed-invalid
     
  • Pavel Orehov

    Pavel Orehov - 2004-12-23

    Logged In: YES
    user_id=1182306

    I am working on it now to represent the problem with small
    program.

     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-23
    • status: closed-invalid --> open-invalid
     
  • Pavel Orehov

    Pavel Orehov - 2004-12-26

    Logged In: YES
    user_id=1182306

    I can't represent the problem with small program.
    But i found some bad usage with headers linked list in my
    program, so may be this caused to problem.
    Now it is work fine, so close the BUG.

     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-26
    • status: open-invalid --> closed-invalid
     
MongoDB Logo MongoDB