Fossil SCM
The --nossl option is on by default for the "fossil ui" command.
Commit
9ae6f8660d020e124b3155b6f3c0bb3f057b9b8aaf446c44668d398866fd31fb
Parent
14ff7af42ece559…
1 file changed
+3
-2
+3
-2
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -2478,11 +2478,12 @@ | ||
| 2478 | 2478 | ** --https signal a request coming in via https |
| 2479 | 2479 | ** --max-latency N Do not let any single HTTP request run for more than N |
| 2480 | 2480 | ** seconds (only works on unix) |
| 2481 | 2481 | ** --nocompress Do not compress HTTP replies |
| 2482 | 2482 | ** --nojail Drop root privileges but do not enter the chroot jail |
| 2483 | -** --nossl signal that no SSL connections are available | |
| 2483 | +** --nossl signal that no SSL connections are available (Always | |
| 2484 | +** set by default for the "ui" command) | |
| 2484 | 2485 | ** --notfound URL Redirect |
| 2485 | 2486 | ** -P|--port TCPPORT listen to request on port TCPPORT |
| 2486 | 2487 | ** --th-trace trace TH1 execution (for debugging purposes) |
| 2487 | 2488 | ** --repolist If REPOSITORY is dir, URL "/" lists repos. |
| 2488 | 2489 | ** --scgi Accept SCGI rather than HTTP |
| @@ -2549,11 +2550,11 @@ | ||
| 2549 | 2550 | fCreate = find_option("create",0,0)!=0; |
| 2550 | 2551 | if( find_option("scgi", 0, 0)!=0 ) flags |= HTTP_SERVER_SCGI; |
| 2551 | 2552 | if( zAltBase ){ |
| 2552 | 2553 | set_base_url(zAltBase); |
| 2553 | 2554 | } |
| 2554 | - g.sslNotAvailable = find_option("nossl", 0, 0)!=0; | |
| 2555 | + g.sslNotAvailable = find_option("nossl", 0, 0)!=0 || isUiCmd; | |
| 2555 | 2556 | if( find_option("https",0,0)!=0 ){ |
| 2556 | 2557 | cgi_replace_parameter("HTTPS","on"); |
| 2557 | 2558 | } |
| 2558 | 2559 | if( find_option("localhost", 0, 0)!=0 ){ |
| 2559 | 2560 | flags |= HTTP_SERVER_LOCALHOST; |
| 2560 | 2561 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -2478,11 +2478,12 @@ | |
| 2478 | ** --https signal a request coming in via https |
| 2479 | ** --max-latency N Do not let any single HTTP request run for more than N |
| 2480 | ** seconds (only works on unix) |
| 2481 | ** --nocompress Do not compress HTTP replies |
| 2482 | ** --nojail Drop root privileges but do not enter the chroot jail |
| 2483 | ** --nossl signal that no SSL connections are available |
| 2484 | ** --notfound URL Redirect |
| 2485 | ** -P|--port TCPPORT listen to request on port TCPPORT |
| 2486 | ** --th-trace trace TH1 execution (for debugging purposes) |
| 2487 | ** --repolist If REPOSITORY is dir, URL "/" lists repos. |
| 2488 | ** --scgi Accept SCGI rather than HTTP |
| @@ -2549,11 +2550,11 @@ | |
| 2549 | fCreate = find_option("create",0,0)!=0; |
| 2550 | if( find_option("scgi", 0, 0)!=0 ) flags |= HTTP_SERVER_SCGI; |
| 2551 | if( zAltBase ){ |
| 2552 | set_base_url(zAltBase); |
| 2553 | } |
| 2554 | g.sslNotAvailable = find_option("nossl", 0, 0)!=0; |
| 2555 | if( find_option("https",0,0)!=0 ){ |
| 2556 | cgi_replace_parameter("HTTPS","on"); |
| 2557 | } |
| 2558 | if( find_option("localhost", 0, 0)!=0 ){ |
| 2559 | flags |= HTTP_SERVER_LOCALHOST; |
| 2560 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -2478,11 +2478,12 @@ | |
| 2478 | ** --https signal a request coming in via https |
| 2479 | ** --max-latency N Do not let any single HTTP request run for more than N |
| 2480 | ** seconds (only works on unix) |
| 2481 | ** --nocompress Do not compress HTTP replies |
| 2482 | ** --nojail Drop root privileges but do not enter the chroot jail |
| 2483 | ** --nossl signal that no SSL connections are available (Always |
| 2484 | ** set by default for the "ui" command) |
| 2485 | ** --notfound URL Redirect |
| 2486 | ** -P|--port TCPPORT listen to request on port TCPPORT |
| 2487 | ** --th-trace trace TH1 execution (for debugging purposes) |
| 2488 | ** --repolist If REPOSITORY is dir, URL "/" lists repos. |
| 2489 | ** --scgi Accept SCGI rather than HTTP |
| @@ -2549,11 +2550,11 @@ | |
| 2550 | fCreate = find_option("create",0,0)!=0; |
| 2551 | if( find_option("scgi", 0, 0)!=0 ) flags |= HTTP_SERVER_SCGI; |
| 2552 | if( zAltBase ){ |
| 2553 | set_base_url(zAltBase); |
| 2554 | } |
| 2555 | g.sslNotAvailable = find_option("nossl", 0, 0)!=0 || isUiCmd; |
| 2556 | if( find_option("https",0,0)!=0 ){ |
| 2557 | cgi_replace_parameter("HTTPS","on"); |
| 2558 | } |
| 2559 | if( find_option("localhost", 0, 0)!=0 ){ |
| 2560 | flags |= HTTP_SERVER_LOCALHOST; |
| 2561 |