Commits
- 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@
- Commit:
94f3c56922948adc179cb260c0fd16a34d891d1b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make gotsysd-managed repositories readable for the _gotd group
This allows making the repositories readable by other user accounts,
such as _gotwebd, by adding those users to the _gotd group.
- Commit:
d1b3f74abcc2eecdb61bc1a5a5672a74816d1938
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
enable sftp/scp support in the sshd_config file generated by gotsysd
- Commit:
d2c8757f8d9b810bee1e901287460f410f015b2c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make commit notifications only show the part of history unique to the branch
When a new branch is created, show all commits added on the branch relative
to the HEAD branch, instead of showing just the tip commit.
When branch history is changed with got send -f or git push -f, limit
history traversal to a common ancestor with the HEAD branch, instead
of walking the entire history until a root commit is found.
Stacked branches will still show some extra history until they hit HEAD.
This can be improved later.
ok op@
- Commit:
1c882b8ac4271b5669beb7f52a84f89ee58b973f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
move gotwebd fcgi record parsing into a dedicated process under pledge "stdio"
ok op@
- Commit:
290815ffe7ab6d037e4b6493d509f49a53fddc5a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
set gotwebd pledges according to address families of listening sockets
We were implicitly relying on "inet" to provide "unix". Be more specific.
ok op@