Commits
- Commit:
82da5d1a74509dc248454d0966d0a000054f8ac9
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: release 0.118.1
Fix a mistake with the build where certain header files (sha1.h and
sha2.h) needed to be included portably.
- Commit:
c596f193220a0bcc95c736afde167a32d121b5f4
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: bump version for -maint release
- Commit:
e80e87cf3b6deac00efefe34232226160ca3df30
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: fix 0.118 build
Remove sha{1,2}.h from source files as these are included portably.
- Commit:
f45b7df8e983be3f6d63659a5dce4ac6a5fde7e8
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: correct typo in CHANGELOG (0.118)
- Commit:
75db2e32f3530762b4407afe130616f35994f0a1
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: set next version
- Commit:
19bdcbd82cb27bb45cee2e3d77b56be06ee4a874
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: release 0.118
- Commit:
0d2a62a2872f31ca5334b906c6ff7992fff87a95
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
bump version number
- Commit:
2afec09d5921f4c644ad182986fb2322387f9ca2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
CHANGES for 0.118
- Commit:
195d499a7798e044d2033e7ef74a7446714b2f4d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
fix gotwebd regress failure introduced with querystring changes
A folder parameter addressing the root directory is expected to be
an empty string rather than "/".
- Commit:
9822808d41d777c56c4d846cd5c6dead306bcc4e
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: libutils: sync imsg
- Commit:
25b639dfa175a8a6684ae2c8666a270fe682523a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
block gotwebd requests with paths that point outside the repository directory
ok op@
- Commit:
75be285f4927f1f4a848adddfc4e222964c6d3cb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
remove unused resp_event variable from gotwebd struct request
- Commit:
8108c9c2404c904b66452df97d5d6e7efaa2e4c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
remove now unused 'gotweb_cur' variable from gotwebd
- Commit:
467f6d01d80e89dfeec22afe14257a0fa56c60c3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
rename GOTWEBD_PROC_SERVER back to GOTWEBD_PROC_SOCKETS
- Commit:
b4fd5cf63b73fc04038dd5507597aa5f6312570d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
fix process ID passed in gotwebd fcgi send_parsed_params() and abort_request()
- Commit:
07226cf792be7df8fc8060ee426e20670bcb366e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
remove the now unused "server_cnt" gotwebd variable
- Commit:
7f722d7ca7646a910da609fd4240e6b666c564dc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
move reyk's urldecode() copyright along
- Commit:
30696740d2a931bc3ef7ffb46e86ce9ffd6419c9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
httpd will always expect an FCGI end record from us, so send it always
- Commit:
a45b8b1f203390cf8f7fffbc9096d945a074b0fa
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
clamp qs->index_page to the correct range, we want a positive int
- Commit:
af87ad5da4ea35037472a4318fbeb50629df3662
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
move parsing of gotwebd querystrings into the pledge("stdio") process
Fields of the querystring structure become fixed-sized buffers for
easy passing over imsg. This means we can no longer check pointers
in this structure for NULL. Instead we have to check for empty strings.
ok op@
- Commit:
8d19b20684dfaa51d474ec02584221f6b6084f0b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
remove some debug logging I added to gotwebd and forgot to remove
- Commit:
ea7963b95027594a330a01f1770fba059750944c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
dispatch new requests to the least-busy gotwebd worker
Instead of distributing requests across workers in a round-robin fashion
keep track of how many requests a given worker has queued and send new
requests to the worker which has the least amount of work queued for it.
This makes gotwebd much more responsive than stupid round-robin, even
though the new strategy is still not optimal because different types of
requests carry different cost. E.g. blaming a file is usually heavier than
listing trees. But it might be good enough, for now. Let's try and see.
ok op@
- Commit:
2f713fe5ea69a546ed14839ae0212754176d2524
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
run just one gotwebd process which listens on sockets
The listen statement is a global configuration setting and it does not
make sense to have more than one process listening. Run just one process
which listens and is now again called "sockets", having been renamed
from "sockets" to "server" some time ago.
There is no good reason to run more than one "server" since server-specific
settings from gotwebd.conf are selected based on the SERVER_NAME sent in
the FastCGI request. This selection is handled by the gotweb.c process.
ok op@
- Commit:
58b9c98fa08b361fce2d2e1d671c606d036163cd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
use consistent mdoc markup for unix domain sockets in gotwebd.conf.5
- Commit:
049c14ecdfe61442b223d8e4995acca2b557624e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
sockets_launch: simplify listen() handling
* clean up the SOCKS_BACKLOG versus SOMAXCONN usage
* factor out just one listen() call
* slightly improve the logging by showing the socket "name" too.
ok stsp@