• Kirill Zorin's avatar
    mmsh: fix 400 bad request · 6ec2fd5f
    Kirill Zorin authored
    There is no need to write two HTTP newlines (\r\n) into "headers",
    because http_connect (in http.c) already appends one HTTP newline at
    the end of the given headers chunk, which would result in sending
    three HTTP newlines after the headers. Most of the time it's okay
    (although not RFC-conforming), but many proxy servers and the
    occasional strict httpd will puke with a "400 bad request".
    6ec2fd5f