1999-08-04
1999-08-04 18:59:39 by David Hedbor <david@hedbor.org>
-
7ae38bc85972a732259b427d590d7e8030cffd54
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 5.2
Fix in parsing HTTP/1.x request w/o headers.
Rev: server/protocols/http.pike:1.148
6: Inside #if defined(MAGIC_ERROR)
#ifdef MAGIC_ERROR
inherit "highlight_pike";
#endif
- constant cvs_version = "$Id: http.pike,v 1.147 1999/07/31 18:43:52 js Exp $";
+ constant cvs_version = "$Id: http.pike,v 1.148 1999/08/04 18:59:39 neotron Exp $";
// HTTP protocol module.
#include <config.h>
private inherit "roxenlib";
360:
}
// Do we have all the headers?
- if (!sscanf(s, "%s\r\n\r\n%s", s, data)) {
+ if (!sscanf(raw, "%s\r\n\r\n%s", s, data)) {
// No, we need more data.
DPERROR("HTTP: parse_got(): Request is not complete.");
return 0;