wukenaihe / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

windows http_upload should allow response without Content-Length header #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently HTTPUpload::ReadResponse will return failure if the HTTP response
does not include a Content-Length header.  This is bad because lots of
common CGI programs don't send one.  I'm attaching a patch that makes this
optional.  If one is specified, it will still be checked against the number
of bytes read to determine success.

Original issue reported on code.google.com by ted.mielczarek on 29 Mar 2007 at 6:43

Attachments:

GoogleCodeExporter commented 9 years ago
Addressed mento's review comments.

Original comment by ted.mielczarek on 2 Apr 2007 at 4:27

Attachments:

GoogleCodeExporter commented 9 years ago
Oops, missed a spot.

Original comment by ted.mielczarek on 2 Apr 2007 at 4:53

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed, revision [136].

Original comment by mmento...@gmail.com on 2 Apr 2007 at 6:24