Althttpd

Timeline
Login

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

50 most recent check-ins

2022-08-12
18:17
Merge the --popup enhancement from trunk. ... (Leaf check-in: 823a1d985d user: drh tags: enable-atomics)
17:23
Add documentation of the --page and --popup options to the main page. ... (Leaf check-in: 0310001ae1 user: drh tags: trunk)
13:33
Add the --popup command-line option. ... (check-in: a66384d35c user: drh tags: trunk)
2022-08-11
15:42
Removed the quotes from around the CFLAGS, as they cause clang to treat everything after the -O to be a value for -O, which triggers a compile error. ... (check-in: 53d45f4c0d user: stephan tags: enable-atomics)
15:33
Add two lines to HTTP reply header for static files if the -DALTHTTPD_ENABLE_ATOMICS compile-time option is used. ... (check-in: cfef765e56 user: drh tags: enable-atomics)
2022-06-11
06:57
Minor doc fix reported at [6d6e0b59fcb6f394]. ... (check-in: 943bb06ae0 user: stephan tags: trunk)
2022-06-09
00:57
Added missing BOOLEAN qualifier to the --debug flag docs, per forum post [9b819e3c211abb1b]. ... (check-in: 085d72a3f9 user: stephan tags: trunk)
2022-06-08
15:57
Added json=>application/json mimetype mapping. ... (check-in: e87b98d0a3 user: stephan tags: trunk)
09:52
Added mjs (ES6 modules) mimetype. Changed JS mimetype from application/javascript to text/javascript to conform with the HTML spec. application/javascript is commonly used in the wild. ... (check-in: 5f1452b513 user: stephan tags: trunk)
2022-06-04
10:50
Disallow access by the "Synapse" robot. ... (check-in: 4e203082ca user: drh tags: trunk)
2022-06-01
08:15
Typo fix reported in /forumpost/363136ff7f. ... (check-in: c65105e8d4 user: stephan tags: trunk)
2022-05-31
15:19
Added a brief doc section about the new gzip support. ... (check-in: f683c40348 user: stephan tags: trunk)
00:26
If the client will accept "gzip" encoding, and if the requested file exists with a ".gz" suffix, then send the ".gz" file labeled with an encoding of "gzip". ... (check-in: 7e8f56fdf0 user: drh tags: trunk)
2022-05-26
12:18
Merge the addition of the --page option and the enhanced --port option. ... (check-in: e7f4abfbf8 user: drh tags: trunk)
2022-05-23
21:51
In althttpd.md, moved the -lssl -lcrypto flags to the end of the compile command, per forum post 4b868d782a. ... (check-in: 71e5785966 user: stephan tags: trunk)
2022-05-18
17:46
Improvements to command-line options to control TCP port search. Add the --page command-line option to cause a web-browser to come up. ... (Closed-Leaf check-in: b8db19fe7e user: drh tags: auto-mode)
15:48
Modify the stand-alone HTTP server so that it is able to select it's own TCP port if requested. Needed: Automatically launch a web-browser. Clean up the documentation and command-line options for improved consistency. ... (check-in: 80948020e6 user: drh tags: auto-mode)
2022-05-17
20:45
Implemented handling of the MTF_NOCGI mimetype flag, currently used only by wasm files. ... (check-in: 1b62b4668c user: stephan tags: trunk)
20:15
Reworked GetMimeType() to allow for type-specific flags such as eliding the charset from Content-Type (necessary for wasm). This also fixes the duplicate charset specifications which were previously being emitted for .html and .htm files. ... (check-in: 32df1a6170 user: stephan tags: trunk)
18:42
Added .wasm ==> application/wasm mimetype mapping because it's needed for loading wasm files. ... (check-in: 16e8ae3e8f user: stephan tags: trunk)
2022-03-26
12:03
Fix a typo in the "INSERT INTO xref" comment. ... (check-in: 66d24989d1 user: drh tags: trunk)
11:56
Merge the --ipshun enhancements into trunk. ... (check-in: d50f931efa user: drh tags: trunk)
11:55
Make the banishment time interval a #define so that it can be easily changed. The default value is increased to 5 minutes. Allow %-escaped "." and "/" to pass through so that we can more easily detect the common "/../" attacks on the request-URI. ... (Closed-Leaf check-in: e36144c40d user: drh tags: ipshun)
2022-03-24
20:13
Typo fix in 'termporarily blocked' message. ... (check-in: 10f650e552 user: stephan tags: ipshun)
20:03
Initial docs for the --ipshun flag, based on forum post 0e26ff2db4. ... (check-in: eec7e660de user: stephan tags: ipshun)
19:03
Fix a typo in a comment. ... (check-in: a05e2af194 user: drh tags: ipshun)
17:51
Add the "--ipshun DIR" command-line option. When supplied, althttpd refuses to service requests coming from IP addresses that have corresponding files in DIR, at least for a while. This is an experimental additional defense against hostile robots. ... (check-in: e99c39954c user: drh tags: ipshun)
2022-03-23
19:09
Rearrange the command-line argument parsing so that the most commonly used options are checked first (for performance). Restructure the code to make individual cases easier to #ifdef out. ... (check-in: ca06363eed user: drh tags: trunk)
2022-03-22
14:12
More precise error messages for over-sized requests. ... (check-in: 6ceb6a5e7d user: drh tags: trunk)
2022-03-21
15:06
Allow longer input lines on the HTTP request. ... (check-in: 0869197fa5 user: drh tags: trunk)
2022-03-20
15:58
Do not set a start-up timer when operating in stand-alone mode. ... (check-in: 161f212d9e user: drh tags: trunk)
2022-03-18
09:56
Added another dir-browsing CGI script to contrib/, from forum post d63822d97a17e968. ... (check-in: ea9a2cc198 user: stephan tags: trunk)
2022-03-04
13:12
Check-in the script used to extract log-file linenumber information from the source code. ... (check-in: 9c9bffe773 user: drh tags: trunk)
13:11
Improved log-file reporting of timeouts. Fix timeouts on large file downloads (see https://sqlite.org/forum/forumpost/52b0627b6925.) Fix the log-file error line-number database. ... (check-in: 188a2625d4 user: drh tags: trunk)
2022-03-03
19:15
Start the kill timer *before* starting up OpenSSL. ... (check-in: 39ba92dd0a user: drh tags: trunk)
17:05
Even after a single successful HTTP request, still impose a 4-hour timeout on subsequent requests. ... (check-in: a0a3f858f5 user: drh tags: trunk)
2022-02-24
18:25
After parsing a single valid HTTP request, disable all subsequent timeoutes. See SQLite Forum post 52b0627b69 for the rationale behind this change. ... (check-in: a1edcf8c37 user: drh tags: trunk)
2022-02-16
19:03
Add the static-ssl.mk makefile ... (check-in: 8763e96e91 user: drh tags: trunk)
2022-02-13
20:10
Fix the REQUEST_URI CGI variable so that it includes the query string, as does Apache and Nginx. ... (check-in: 59afb3cad0 user: drh tags: trunk)
2022-02-01
04:05
docker build: doc typo fix and use alpine:edge version. ... (check-in: 6198014aec user: stephan tags: trunk)
2022-01-26
14:21
Reset the content length for every HTTP request. ... (check-in: fded041a3e user: drh tags: trunk)
2022-01-25
15:43
Do not log an error if the first line of an HTTP request never arrives. ... (check-in: 97b589c68b user: drh tags: trunk)
15:39
Give unique error numbers to all 500-level Malfunction() calls. ... (check-in: d312c6e32c user: drh tags: trunk)
2022-01-19
05:59
Added contrib/docker as a convenient method of building a fully/properly-static althttpd. ... (check-in: 6f6cf2d5a5 user: stephan tags: trunk)
04:42
Reformulated the version-related CPPFLAGS in such a way which should (or might) be compatible with more Make variants, namely BSD Make. ... (check-in: 0736e5f6e5 user: stephan tags: trunk)
2022-01-18
16:06
Add an earlier check for running as root without the -user flag and fail before establishing the network listener. Part of the /forumpost/1e536f9fb0bf5310 discussion. ... (check-in: 57fce9cebf user: stephan tags: trunk)
04:49
Added static-althttpd target for build via docker, but unfortunately have to check it in in order to test it. ... (check-in: 0ebfe20459 user: stephan tags: trunk)
2022-01-17
16:06
Renamed --cert builtin to --cert unsafe-builtin for symmetry with Fossil, per /chat discussion. ... (check-in: 3ed898e622 user: stephan tags: trunk)
16:01
Swapped HTTP-mode-only restriction on the HSTS header to HTTPS-mode-only. That restriction was a misunderstanding on my part. ... (Leaf check-in: 27f227c075 user: stephan tags: strict-transport-security)
14:56
Initial impl of adding a HTTP Strict-Transport-Security header via a new directive in the -auth file. ... (check-in: 6cc1a66706 user: stephan tags: strict-transport-security)