Fossil SCM
Fix the "fossil server" command on windows os that it honors the --https option.
Commit
8ed91bbe44d0d383d67c30a1fe3817fe34ce5736d393f8ccb4646e14d490000b
Parent
4130a22ceeac777…
1 file changed
+3
+3
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -535,10 +535,13 @@ | ||
| 535 | 535 | const char *zSavedKey = 0; |
| 536 | 536 | size_t savedKeySize = 0; |
| 537 | 537 | #endif |
| 538 | 538 | |
| 539 | 539 | blob_zero(&options); |
| 540 | + if( PB("HTTPS") ){ | |
| 541 | + blob_appendf(&options, " --https"); | |
| 542 | + } | |
| 540 | 543 | if( zBaseUrl ){ |
| 541 | 544 | blob_appendf(&options, " --baseurl %s", zBaseUrl); |
| 542 | 545 | } |
| 543 | 546 | if( zNotFound ){ |
| 544 | 547 | blob_appendf(&options, " --notfound %s", zNotFound); |
| 545 | 548 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -535,10 +535,13 @@ | |
| 535 | const char *zSavedKey = 0; |
| 536 | size_t savedKeySize = 0; |
| 537 | #endif |
| 538 | |
| 539 | blob_zero(&options); |
| 540 | if( zBaseUrl ){ |
| 541 | blob_appendf(&options, " --baseurl %s", zBaseUrl); |
| 542 | } |
| 543 | if( zNotFound ){ |
| 544 | blob_appendf(&options, " --notfound %s", zNotFound); |
| 545 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -535,10 +535,13 @@ | |
| 535 | const char *zSavedKey = 0; |
| 536 | size_t savedKeySize = 0; |
| 537 | #endif |
| 538 | |
| 539 | blob_zero(&options); |
| 540 | if( PB("HTTPS") ){ |
| 541 | blob_appendf(&options, " --https"); |
| 542 | } |
| 543 | if( zBaseUrl ){ |
| 544 | blob_appendf(&options, " --baseurl %s", zBaseUrl); |
| 545 | } |
| 546 | if( zNotFound ){ |
| 547 | blob_appendf(&options, " --notfound %s", zNotFound); |
| 548 |