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 ) )
{