Fossil SCM
Use HTTP/1.1 for the sync protocol, not HTTP/1.0.
Commit
c51b61ff1b4f1bd9b39dd8ada00d33fb4c2f217e189584bc1d0c91ce72b0160a
Parent
4c73b4afb996639…
1 file changed
+1
-1
+1
-1
| --- src/http.c | ||
| +++ src/http.c | ||
| @@ -108,11 +108,11 @@ | ||
| 108 | 108 | if( i>0 && g.url.path[i-1]=='/' ){ |
| 109 | 109 | zSep = ""; |
| 110 | 110 | }else{ |
| 111 | 111 | zSep = "/"; |
| 112 | 112 | } |
| 113 | - blob_appendf(pHdr, "POST %s%s HTTP/1.0\r\n", g.url.path, zSep); | |
| 113 | + blob_appendf(pHdr, "POST %s%s HTTP/1.1\r\n", g.url.path, zSep); | |
| 114 | 114 | if( g.url.proxyAuth ){ |
| 115 | 115 | blob_appendf(pHdr, "Proxy-Authorization: %s\r\n", g.url.proxyAuth); |
| 116 | 116 | } |
| 117 | 117 | if( g.zHttpAuth && g.zHttpAuth[0] ){ |
| 118 | 118 | const char *zCredentials = g.zHttpAuth; |
| 119 | 119 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -108,11 +108,11 @@ | |
| 108 | if( i>0 && g.url.path[i-1]=='/' ){ |
| 109 | zSep = ""; |
| 110 | }else{ |
| 111 | zSep = "/"; |
| 112 | } |
| 113 | blob_appendf(pHdr, "POST %s%s HTTP/1.0\r\n", g.url.path, zSep); |
| 114 | if( g.url.proxyAuth ){ |
| 115 | blob_appendf(pHdr, "Proxy-Authorization: %s\r\n", g.url.proxyAuth); |
| 116 | } |
| 117 | if( g.zHttpAuth && g.zHttpAuth[0] ){ |
| 118 | const char *zCredentials = g.zHttpAuth; |
| 119 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -108,11 +108,11 @@ | |
| 108 | if( i>0 && g.url.path[i-1]=='/' ){ |
| 109 | zSep = ""; |
| 110 | }else{ |
| 111 | zSep = "/"; |
| 112 | } |
| 113 | blob_appendf(pHdr, "POST %s%s HTTP/1.1\r\n", g.url.path, zSep); |
| 114 | if( g.url.proxyAuth ){ |
| 115 | blob_appendf(pHdr, "Proxy-Authorization: %s\r\n", g.url.proxyAuth); |
| 116 | } |
| 117 | if( g.zHttpAuth && g.zHttpAuth[0] ){ |
| 118 | const char *zCredentials = g.zHttpAuth; |
| 119 |