Althttpd

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

25 check-ins related to "tls-support"

2022-01-14
18:52
Add TLS support. ... (check-in: f3ab410243 user: drh tags: trunk)
16:22
Update the documentation for the latest changes. ... (Closed-Leaf check-in: cac7c08dbe user: drh tags: tls-support)
15:43
Rename the --tls-cert-file option to just --cert. Add the new --pkey option that gives the ability to keep the private key in a separate file. ... (check-in: 78a747ad91 user: drh tags: tls-support)
14:22
Minor comment and code formatting cleanup. ... (check-in: 2f7c76d9fe user: drh tags: tls-support)
2022-01-10
07:22
Replaced a call to SSL_CTX_use_certificate_file() with SSL_CTX_use_certificate_chain_file(), per fossil forum post 054f637e002683e3. ... (check-in: 83196564d0 user: stephan tags: tls-support)
2022-01-08
17:12
Close the input FILE handle for NPH CGIs, as is done for non-NPH CGIs. ... (check-in: 222d466acc user: stephan tags: tls-support)
15:01
Minor doc/comment updates. ... (check-in: 4b7b64c356 user: stephan tags: tls-support)
14:50
Removed some dead code. Doc updates. tls_gets() now sets the atEof flag if it reaches EOF, as tsl_read_server() does. ... (check-in: 11781d0061 user: stephan tags: tls-support)
10:30
Removed the MARKER debug bits. Added some comments. ... (check-in: 0370441d4f user: stephan tags: tls-support)
09:52
Minor doc addition. ... (check-in: 035e0ca106 user: stephan tags: tls-support)
09:50
Fixed non-parsed-header CGI output to work in TLS mode. ... (check-in: 788d45bd22 user: stephan tags: tls-support)
09:38
Removed an unused var which was part of the popen2() bits. ... (check-in: 82f7f775fb user: stephan tags: tls-support)
08:17
Seem to have found the magic needed to POST over the SSL connection, by propagating the socket ID from http_server() through to ProcessOneRequest() to pass it on to the SSL connection init. Untested with SCGI and fails for unknown reasons (SSL-specific error) for nph- scripts (but that might be my own misuse of that format). Removed superfluous popen2() bits. ... (check-in: dcc654cf3e user: stephan tags: tls-support)
00:38
Ported in popen2() from fossil as an alternative way to launch CGIs, but the behavior is identical: TLS writes to POSTed CGIs fail with a bad file descriptor error. ... (check-in: c9216a6a82 user: stephan tags: tls-support)
2022-01-07
20:49
Removed some dead code. Re-added static qualifier to Malfunction(). ... (check-in: deba23006a user: stephan tags: tls-support)
19:48
Changed %Z to GMT in Rfc822Date(), per forum dicussion c2777e3a72516e80. It is not changed in the log file because that one is not consumed by 3rd-party apps which dislike "UTC" as the %Z string. Addresses ticket [e5a308564b4af739]. ... (check-in: c9214e8e48 user: stephan tags: tls-support)
19:26
Doc and debug output updates. ... (check-in: 5b85958f52 user: stephan tags: tls-support)
09:32
Debug output and assert() tweaks. ... (check-in: 92106c1bf3 user: stephan tags: tls-support)
09:17
Made --https 2 an alias for --tls 1. SSL_write() is failing when writing out CGI POST responses for as-yet-unknown reasons (but works when posting to static files). Doc updates. ... (check-in: 18e3738dc4 user: stephan tags: tls-support)
08:00
Corrected CGI output to go through althttpd_fwrite() instead of althttpd_printf(). ... (check-in: 3459ef5a98 user: stephan tags: tls-support)
07:29
Removed an unnecessary level of althttpd_printf() abstraction when building without TLS support. ... (check-in: d2392b3dd4 user: stephan tags: tls-support)
07:24
Added i/o infastructure for TLS. Non-TLS mode output seems to still work (static content and CGI tested) but TLS output is still 100% untested, as is inbound POSTed data in non-TLS mode. ... (check-in: 80f748e288 user: stephan tags: tls-support)
05:37
Initial work on porting fossil's SSL support into althttp(s)d. Still much to do here. ... (check-in: cb7f045db0 user: stephan tags: tls-support)
03:53
Minor doc fixes and additions in prep for attempting to add TLS support. ... (check-in: 3ac491657b user: stephan tags: tls-support)
2021-08-14
17:29
Add missing va_end(). Ticket [0c1e9179be76a8c7]. ... (check-in: e28dea565e user: drh tags: trunk)