Fossil SCM

The test-httpmsg command does not need to open a repository.

drh 2022-01-20 21:43 trunk
Commit b145f19df5de3a27e634d7a703bf043271f64e7fa1c4ba63a78b753d6072ff3e
1 file changed -1
-1
--- src/http.c
+++ src/http.c
@@ -562,11 +562,10 @@
562562
if( find_option("compress",0,0)!=0 ) mHttpFlags &= ~HTTP_NOCOMPRESS;
563563
if( find_option("xfer",0,0)!=0 ){
564564
mHttpFlags |= HTTP_USE_LOGIN;
565565
mHttpFlags &= ~HTTP_GENERIC;
566566
}
567
- db_find_and_open_repository(OPEN_OK_NOT_FOUND|OPEN_ANY_SCHEMA, 0);
568567
verify_all_options();
569568
if( g.argc<3 || g.argc>5 ){
570569
usage("URL ?PAYLOAD? ?OUTPUT?");
571570
}
572571
zInFile = g.argc>=4 ? g.argv[3] : 0;
573572
--- src/http.c
+++ src/http.c
@@ -562,11 +562,10 @@
562 if( find_option("compress",0,0)!=0 ) mHttpFlags &= ~HTTP_NOCOMPRESS;
563 if( find_option("xfer",0,0)!=0 ){
564 mHttpFlags |= HTTP_USE_LOGIN;
565 mHttpFlags &= ~HTTP_GENERIC;
566 }
567 db_find_and_open_repository(OPEN_OK_NOT_FOUND|OPEN_ANY_SCHEMA, 0);
568 verify_all_options();
569 if( g.argc<3 || g.argc>5 ){
570 usage("URL ?PAYLOAD? ?OUTPUT?");
571 }
572 zInFile = g.argc>=4 ? g.argv[3] : 0;
573
--- src/http.c
+++ src/http.c
@@ -562,11 +562,10 @@
562 if( find_option("compress",0,0)!=0 ) mHttpFlags &= ~HTTP_NOCOMPRESS;
563 if( find_option("xfer",0,0)!=0 ){
564 mHttpFlags |= HTTP_USE_LOGIN;
565 mHttpFlags &= ~HTTP_GENERIC;
566 }
 
567 verify_all_options();
568 if( g.argc<3 || g.argc>5 ){
569 usage("URL ?PAYLOAD? ?OUTPUT?");
570 }
571 zInFile = g.argc>=4 ? g.argv[3] : 0;
572

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button