Commits
- Commit:
bdb4cc63d8f0fa38b367a99beaa48250d23ab557baa02bf39a4ab85df46ef80c- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug memory leaks on exit in gotwebd to pacify the test suite
- Commit:
ba2b4eb52af4540e3b17c7b4ed198215ec6a8d49d3e04b688e75ad1a5e893fd3- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in gotwebd auth process found by the gotwebd test suite
- Commit:
b308e35915079c2edfebe69618331d0a2b3ad98322928bce6720f6b5810501d1- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
disable authentication in gotwebd regress; auth is tested via gotsysd regress
- Commit:
24cd44d027468eda034c2b6a8efe494089b34222e222b8bdcbf647381eedcc9f- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.119
- Commit:
aa32b461fb65b1e84789410d69d34774412ec5ce233149412c8bc9307da4528a- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list
- Commit:
7eaa9f954f50777394a48b9f2efacda4809031a5e2ef17c02debbe67a52761a6- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert some debug logging I accidentally committed in previous
- Commit:
81680dc7a4465bddde098271843049bdd9f23b9990ee21796639d0ded84d5c30- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
pass gotwebd.conf's www user setting to every gotwebd child process
- Commit:
c75383b43523395c0bf9fca87daec3a3bed6d30b19d400680abbc2b48a424cf8- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotsysd.conf "listen on" statement failing on non-existent sockets
Reported by Mischa Peters
- Commit:
a3176e35e3da51757d6cc9ff8ab9c6eaa5a64aa25797c38a5c0af96bb51365a5- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd_accept_paused() is redundant, remove it
The gotd_accept() handler already handles the EV_TIMEOUT case. We do not need
a separate function for this case.
- Commit:
4cc1501d2d87cff59bee82561f5797fb370e95455a91f23b59bad8b31a6e47cc- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent gotd looping on unhandled errors raised by accept()
gotd would somehow loop on ENOTSOCK in a case observed by "noodle" on IRC.
For now, exit the event loop if an unknown accept error occurs.
- Commit:
3a6d166c717e5fabc3027923af3c5aba0855531f7036c19bed453f7a5202c078- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
gotwebd: rename LOGIN token to separate namespace
There's differences in how yacc(1) works on BSD vs non-BSD
systems. As such, the generated code can often clash with
tokens which are defined elsewhere.
In this case, LOGIN from gotwebd clashes with LOGIN defined
in gotwebd.h
Simple solution here is to rename the LOGIN token in gotwebd
to be GOTWEBD_LOGIN
OK @stsp, @op2
- Commit:
a8b5214b2832503dd332c0d53dc1777d7e35882941703b6c7ab9a3c221c39734- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
whitespace
- Commit:
39c6735348abe23ea4a3c972d518bf8690c0c0b7f9e52c72583c006e8b74118c- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make the sockets used for gotwebd IPC use non-blocking I/O as intended
Hopefully fixes a deadlock I observed where the sockets and fcgi processes
were stuck in sendmsg(2) trying to send messages to each other.
- Commit:
a59dd8b3fd81898435ce0b1c4d67b4dc6b4392fcaca8a2c9c950bd36c4d6987b- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document gotwebd authentication
ok op@
- Commit:
e34163db5d5330e5726fcc06cea06e3be4fd59c8d304ff0a9160557c65644a66- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement initial gotwebd authentication regression tests
ok op@
- Commit:
e54351df48b1ca1473604b22b1ede0f1145340d0463c4bcc2775418330203b54- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check access rules in gotweb.c
ok op@
- Commit:
c817a5d46ea7f05c5013b643e1e11055aafd553fe5dd61e596bf2c695ce69788- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add an auth process to gotwebd which handles web request authentication
Each gotweb worker now has an auth process sitting in front of it where
we process web logins and authenticate requests.
The auth process has no access to files other than read-only access to
the password database via the "getpw" pledge promise.
ok op@
- Commit:
fb19edde339286346d944b66d9fbcd7cfc4686bcaa2db632c8ad1f5546b1e5aa- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add gotwebd authentication config settings
ok op@
- Commit:
e019e61b9b185dc80cca8bd0340ae3a075a1e28df7ab5c9ee801937d3ab260a8- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a login process to gotwebd for future use with authentication
ok op@
- Commit:
dd498279549244fc8c9c3c1fef4e147e441375388d3fe41c5a05d805829b288f- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'weblogin' command to gotsh for future use with gotwebd authentication
ok op@
- Commit:
0c015ab4872bcbdfc2e941da7bb6ca6bb32ce98865d971a29416a1e881372bf0- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak gotwebd deferred accept handling to work more like httpd's
The arbitrary(?) limit of 6 file descriptors per request no longer
applies to the sockets process. Change fd reserve limits to match
those of httpd such that we can process all connections it throws
at us before httpd stops accepting more of them itself.
Remove a redundant accept timeout handler function as well.
ok op@
- Commit:
cd1f027e43542f5d4e12c7eccf394fc605afa77ae19647971dac32900f0ee7c3- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix an issue where histedit would not merge added files correctly
When a file is added during a merge and also already exists on disk as
an unversioned file, we mistakenly did not put the file onto the list
of changed files which histedit includes in the next commit. This could
result in commits which only add new files being dropped as no-op commits.
If future commits depend on the file being present this would result in
errors during the histedit operation. Otherwise, the file would no longer
exist in the edited history.
ok op@
- Commit:
e6436a3ca5a32f64391f231b96417490fea680f9f5255f21f7629c17316f4727- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_basename() instead of hand-rolled pointer offset hack
- Commit:
a54a1cc9b4d864630967dc6fcdca0456efd5577a8d5e7d9fcdc0d5d5689dfd68- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add generated files to ignore list
- Commit:
5e9a93ad67cd6ffe58850f6d3520a3d4b3bf2b2160a79e906970f5ad2b563ede- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use an absolute URL in redirects generated by gotwebd
I am going to be using HTTP::Tiny in upcoming regression tests and this
HTTP client fails on redirects sent by gotwebd unless the URL is absolute.
