Commits
- Commit:
dad80d9b37d085f1908b0c4f6249968feea0b03d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: start to implement the auth feature
rearranged the code a bit; let's use a bufferevent since we're not
going to use imsg for this anyway.
for now it just replies back with a dummy URL.
- Commit:
4ac134683fe90d6fdd19ff29cfaab8f7efd42e94
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotsh: fix usage
- Commit:
ff2b55acc0b4c0c704bfbafbb9ff1a74be3f49af
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add an auth process to gotwebd (WIP: it receives requests, but does nothing)
- Commit:
e39d79e3c6d16ad1f982e9c9a8c2f99d368bd15c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement gotsh weblogin command
- Commit:
71313859002afca93f40060d925f90bf11fb7734
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Date:
Plug some memory leaks in got-{send,fetch}-pack
my_capabilities was leaked in both got-send-pack
and got-fetch-pack and needed freeing it in both.
ok op@
- Commit:
493d280daf90dd38c229a3d7b19d98201aabc3ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert part of previous commit which wasn't actually needed for memleak checks
- Commit:
40538e52bf546dc48be253772ea579110e483b37
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix all remaining gotwebd leaks the regress memleak checker was flagging
- Commit:
cab13f2dcc894c20d7f67f0905bf9396acb6fec9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
free gotweb.c iev_server on shutdown
- Commit:
53bbd7ac83f3535ebed810ed672327f3a6f65b89
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
also clear iev_gotweb->ibuf before exit to appease the memleak checker
- Commit:
178d4e2e7f7d1f8560b7a577ca3a73d0fb4e4a71
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
free iev_gotweb before exiting; harmless leak but 'make regress' flags it
- Commit:
2bca46599e24a394be959ed1ef0db7bff301b700
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce the send_response() timeout
For some reason this timeout was blocking long enough to make other
waiting client connections time out. Reduce the amount of retries.
- Commit:
3b8dccc5ebf6eaef854a522e02f0f98c93b153ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
track per-request connection state in struct request, not struct socket
- Commit:
18f076f0b48c5d6f6f064767e8515367897638ab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not keep re-arming the accept pause timer in gotwebd if already armed
- Commit:
a51f669c12bbd8a429cd87c74bf36992c3bcc4a2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
log fcgi requests which have timed out
- Commit:
6a6496627c68099fa1c40784751e8ff6c80223ad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose error status of gotweb_process_request() to the caller
- Commit:
d4261a58adb6613564784042c8785a3b8567d0f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix read error handling in gotweb_render_patch() and check error before writing
- Commit:
96aa828c567a295a72eb8a078abf6a4caf4604dd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix previous commit (build breakage)
- Commit:
a8ae7cb134fb6b0e03b39228b38af9c85d4514d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not send fcgi end record trailer to broken connections
- Commit:
49048dfff7cd350eff6736daf90dd6e18534dea7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix error handling in fcgi_forward_response()
- Commit:
7b3e353331662b2af1d29a84fe5c1d60b7fdfe88
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make writes in fcgi_forward_response() time out to avoid gotwebd getting stuck
- Commit:
f8b1e9c78bbea3a865bd20b4d3061bc7af5d0d7d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
set CLOEXEC and NONBLOCK flags on the pipe between server and gotweb procs
- Commit:
2bd8d56a2d5e8d637430d608e9944a4b08e20187
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop using EV_PERSIST for fcgi_request and fix error handling
- Commit:
f624e3f7a3b025c5bb3f32b8762ba05ddc0ba81d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix format string specifier for c->request_id
- Commit:
a07ec64aa136adda565ccb5880ba83cc4a6edf83
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove gotwebd-specific libexec helpers
gotwebd now uses the same set of libexec helpers as used by got and tog.
ok op@
- Commit:
b27be572b3b9afbcc52cb800bfacbd20218d4177
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
split gotwebd into a server process and a gotweb process
As before, the server process accepts incoming FCGI requests
and runs in the web server's chroot.
The gotweb process runs outside chroot. This allows for browsing
repositories anywhere on the file system, saving disk space on
servers and avoiding a repository eynchronization delay.
The gotweb process runs libexec helpers installed in /usr/local.
Installing static binaries in the chroot is no longer needed for
gotwebd to function. This helps -portable.
gotwebd now defaults to a new user account, _gotwebd, though the
www user can still be used if desired.
The gotwebd.conf repos_path directive is no longer relative to the
chroot directory but is now an absolute path. Existing configs may
need to be adjusted accordingly.
ok op@