Fossil SCM
Have the test-httpmsg command try to open the repository database in case that repository database contains TLS certificate exceptions.
Commit
bf25835f6bc9b6af46aa5547959f38520bd8e70dc4b1d8189c94e691582d6c67
Parent
3f0ade5592df4d9…
1 file changed
+1
+1
| --- src/http.c | ||
| +++ src/http.c | ||
| @@ -495,10 +495,11 @@ | ||
| 495 | 495 | |
| 496 | 496 | zMimetype = find_option("mimetype",0,1); |
| 497 | 497 | zOutFile = find_option("out","o",1); |
| 498 | 498 | if( find_option("verbose","v",0)!=0 ) mHttpFlags |= HTTP_VERBOSE; |
| 499 | 499 | if( find_option("compress",0,0)!=0 ) mHttpFlags &= ~HTTP_NOCOMPRESS; |
| 500 | + db_find_and_open_repository(OPEN_OK_NOT_FOUND|OPEN_ANY_SCHEMA, 0); | |
| 500 | 501 | if( g.argc!=3 && g.argc!=4 ){ |
| 501 | 502 | usage("URL ?PAYLOAD?"); |
| 502 | 503 | } |
| 503 | 504 | zInFile = g.argc==4 ? g.argv[3] : 0; |
| 504 | 505 | url_parse(g.argv[2], 0); |
| 505 | 506 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -495,10 +495,11 @@ | |
| 495 | |
| 496 | zMimetype = find_option("mimetype",0,1); |
| 497 | zOutFile = find_option("out","o",1); |
| 498 | if( find_option("verbose","v",0)!=0 ) mHttpFlags |= HTTP_VERBOSE; |
| 499 | if( find_option("compress",0,0)!=0 ) mHttpFlags &= ~HTTP_NOCOMPRESS; |
| 500 | if( g.argc!=3 && g.argc!=4 ){ |
| 501 | usage("URL ?PAYLOAD?"); |
| 502 | } |
| 503 | zInFile = g.argc==4 ? g.argv[3] : 0; |
| 504 | url_parse(g.argv[2], 0); |
| 505 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -495,10 +495,11 @@ | |
| 495 | |
| 496 | zMimetype = find_option("mimetype",0,1); |
| 497 | zOutFile = find_option("out","o",1); |
| 498 | if( find_option("verbose","v",0)!=0 ) mHttpFlags |= HTTP_VERBOSE; |
| 499 | if( find_option("compress",0,0)!=0 ) mHttpFlags &= ~HTTP_NOCOMPRESS; |
| 500 | db_find_and_open_repository(OPEN_OK_NOT_FOUND|OPEN_ANY_SCHEMA, 0); |
| 501 | if( g.argc!=3 && g.argc!=4 ){ |
| 502 | usage("URL ?PAYLOAD?"); |
| 503 | } |
| 504 | zInFile = g.argc==4 ? g.argv[3] : 0; |
| 505 | url_parse(g.argv[2], 0); |
| 506 |