--- thttpd/libhttpd.c 2001/06/29 13:17:52 1.1.4.3 +++ thttpd/libhttpd.c 2001/07/02 18:52:37 1.1.4.5 @@ -825,10 +825,15 @@ void httpd_send_err_blocked( httpd_conn* hc ) { -#ifdef ERR_DIR + char *protocol = hc->protocol; +#ifdef ERR_DIR char filename[1000]; +#endif + hc->protocol = "HTTP/1.0"; + +#ifdef ERR_DIR /* Try virtual host error page. */ if ( hc->hs->vhost && hc->hostdir[0] != '\0' ) { @@ -852,6 +857,7 @@ send_response( hc, 403, err403title, "", err403form, "" ); #endif /* ERR_DIR */ + hc->protocol = protocol; } #ifdef ERR_DIR