Mailing List Archive

Bug fix for http_protocol.c
Another stupid thunko on my part --- send_http_header was forgetting
to note that the body had started for HTTP/0.9 requests, with the
result that HTTP/0.9 requests weren't getting bytes_sent correctly
logged. The fix is trivial:

*** http_protocol.c~ Thu Jul 27 08:02:09 1995
--- http_protocol.c Sat Jul 29 20:04:46 1995
***************
*** 491,497 ****
(core_dir_config *)get_module_config(r->per_dir_config, &core_module);
char *default_type = dir_conf->default_type;

! if (r->assbackwards) return;

basic_http_header (r);

--- 491,500 ----
(core_dir_config *)get_module_config(r->per_dir_config, &core_module);
char *default_type = dir_conf->default_type;

! if (r->assbackwards) {
! r->bytes_sent = 0;
! return;
! }

basic_http_header (r);