Fossil SCM
Untested change to get "fossil server --scgi" working again on Windows.
Commit
861fc11e8a04d355b10abef0d26d007fa5c7329c61e123ec6a4e4fa5c0497258
Parent
52943029e201bdd…
1 file changed
+2
-1
+2
-1
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -471,11 +471,12 @@ | ||
| 471 | 471 | wanted += got; |
| 472 | 472 | } |
| 473 | 473 | assert( g.zRepositoryName && g.zRepositoryName[0] ); |
| 474 | 474 | zIp = SocketAddr_toString(&p->addr); |
| 475 | 475 | sqlite3_snprintf(sizeof(zCmd), zCmd, |
| 476 | - "\"%s\" http \"%s\" \"%s\" %s \"%s\" --scgi --nossl%s", | |
| 476 | + "\"%s\" http --in \"%s\" --out \"%s\" --ipaddr %s \"%s\"" | |
| 477 | + " --scgi --nossl --nodelay%s", | |
| 477 | 478 | g.nameOfExe, zRequestFName, zReplyFName, zIp, |
| 478 | 479 | g.zRepositoryName, p->zOptions |
| 479 | 480 | ); |
| 480 | 481 | fossil_free(zIp); |
| 481 | 482 | in = fossil_fopen(zReplyFName, "w+b"); |
| 482 | 483 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -471,11 +471,12 @@ | |
| 471 | wanted += got; |
| 472 | } |
| 473 | assert( g.zRepositoryName && g.zRepositoryName[0] ); |
| 474 | zIp = SocketAddr_toString(&p->addr); |
| 475 | sqlite3_snprintf(sizeof(zCmd), zCmd, |
| 476 | "\"%s\" http \"%s\" \"%s\" %s \"%s\" --scgi --nossl%s", |
| 477 | g.nameOfExe, zRequestFName, zReplyFName, zIp, |
| 478 | g.zRepositoryName, p->zOptions |
| 479 | ); |
| 480 | fossil_free(zIp); |
| 481 | in = fossil_fopen(zReplyFName, "w+b"); |
| 482 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -471,11 +471,12 @@ | |
| 471 | wanted += got; |
| 472 | } |
| 473 | assert( g.zRepositoryName && g.zRepositoryName[0] ); |
| 474 | zIp = SocketAddr_toString(&p->addr); |
| 475 | sqlite3_snprintf(sizeof(zCmd), zCmd, |
| 476 | "\"%s\" http --in \"%s\" --out \"%s\" --ipaddr %s \"%s\"" |
| 477 | " --scgi --nossl --nodelay%s", |
| 478 | g.nameOfExe, zRequestFName, zReplyFName, zIp, |
| 479 | g.zRepositoryName, p->zOptions |
| 480 | ); |
| 481 | fossil_free(zIp); |
| 482 | in = fossil_fopen(zReplyFName, "w+b"); |
| 483 |