Page 1 of 1

httpd.c modifications

Posted: 22 Sep 2008 20:27
by boing
Hello,

just to report a small "bug" I found in the httpd code, already reported here viewtopic.php?f=18&t=47295#p159284

I post here a git-diff, if someone want to send it to the devel mail list, feel free (lazy me :)

Code: Select all

$ git-diff diff --git a/src/network/httpd.c b/src/network/httpd.c index 06bd9dc..c830904 100644 --- a/src/network/httpd.c +++ b/src/network/httpd.c @@ -2351,8 +2351,8 @@ retry: } if( ( ( cl->query.i_proto == HTTPD_PROTO_HTTP ) && - ( ( cl->answer.i_version == 0 && b_keepalive ) || - ( cl->answer.i_version == 1 && !b_connection ) ) ) || + ( ( cl->query.i_version == 0 && b_keepalive ) || + ( cl->query.i_version == 1 && !b_connection ) ) ) || ( ( cl->query.i_proto == HTTPD_PROTO_RTSP ) && !b_query && !b_connection ) ) {
and still my question : is it a bug or a feature ?

Re: httpd.c modifications

Posted: 22 Sep 2008 21:06
by Jean-Baptiste Kempf
Send them to the list, please.

Re: httpd.c modifications

Posted: 22 Sep 2008 21:32
by boing