[hamradio-commits] [dump1090] 324/389: B"H net_io.c: revert previous change and advertise HTTP 1.1

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:20:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch master
in repository dump1090.

commit 84fa09c22896c1218ef5a1a2a0c32453702c91f8
Author: hhm <heehooman+vcs-ci at gmail.com>
Date:   Mon Aug 18 03:06:43 2014 -0400

    B"H net_io.c: revert previous change and advertise HTTP 1.1
    
    It seems server code should be compatible with HTTP 1.1; the features
    unique to 1.1 mostly are upon the client to support, and some headers
    used (for example Cache-Control) may need 1.1.
---
 net_io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net_io.c b/net_io.c
index 48325d0..7e15343 100644
--- a/net_io.c
+++ b/net_io.c
@@ -787,7 +787,7 @@ int handleHTTPRequest(struct client *c, char *p) {
 
     // Create the header and send the reply
     hdrlen = snprintf(hdr, sizeof(hdr),
-        "HTTP/1.0 200 OK\r\n"
+        "HTTP/1.1 200 OK\r\n"
         "Server: Dump1090\r\n"
         "Content-Type: %s\r\n"
         "Connection: %s\r\n"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list