|
2009-11-20
| ||
| 05:28 | • Closed ticket [2900683fff]: bug in http::geturl plus 7 other changes artifact: 37e63e84ea user: dgp | |
| 03:07 | • Ticket [2900683fff]: 4 changes artifact: d33d7fc619 user: kraney | |
| 02:59 | • Ticket [2900683fff]: 5 changes artifact: 9063cbc59d user: andreas_kupries | |
| 02:55 | • Ticket [2900683fff]: 4 changes artifact: 82cffc8485 user: kraney | |
| 02:55 | • Add attachment http.diff to ticket [2900683fff] artifact: 2ab3be60a0 user: kraney | |
|
2009-11-19
| ||
| 19:54 | • New ticket [2900683fff] bug in http::geturl. artifact: 5a4009b334 user: kraney | |
bug in http::geturl
Closed / Out of Date2900683fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-11-19 19:54:24
In http 2.7.2, there is a bug that can cause a web page to report failure when in fact it has succeeded. In http::Event, the code that reads the HTTP response (such as "HTTP/1.1 200 OK") fails to check the returned size of that read. If there is data available on that socket, but the data doesn't represent a complete line, the call to "gets" will return -1 (which is ignored) and the HTTP response code is stored as the empty string. This causes logic errors in later code, with the end result that the entire page contents gets treated as HTTP header information.
kraneyplain2009-11-20 02:55:07
File Added - 351715: http.diff
andreas_kupriesplain2009-11-20 02:59:18
Is this bug still present in http 2.7.5 ?
kraneyplain2009-11-20 03:07:08
No, it isn't. Sorry about that.
dgpplain2009-11-20 05:28:01
allow_comments - 1
Log in (anonymous is fine) to add a comment.
Attachments:
- http.diff [download] added by kraney on 2009-11-20 02:55:07. [details]