Commits
- Commit:
520dc23bbf6da080a16df5b633445d3d625def64
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: fix I/O with TLS
tls_write() may return TLS_WANT_READ. In that case, we're stuck
trying to read while we have the request still in the buffer. So,
we have to retry bufio_write() regardless of the POLLIN/POLLOUT
state.
We'd need this only in the TLS case, but in practice it doesn't
harm for the plaintext case too. In fact, we're either waiting to
flush the request or we're only reading the server reply.
ok stsp
- Commit:
63bfde6efd083ce03a42abf45fb70cc685906368
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
sort includes in got-notify-http; suggested by op@
- Commit:
6e168f4f9e15f2009039cd6881a7ca08a5e8fc8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
send got-http-notify error output to syslog
ok op@
- Commit:
b290a4cca440a1deb97931a806942fdaa1724892
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
set a default port for http notifications if not specified in gotd.conf
ok op@
- Commit:
2ae445d7109c3e4848ed317abe83fd9925c3d9b0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make it harder to leak notification credentials over plaintext HTTP
ok op@
- Commit:
9645c8399cddca84e38d227e3a1781683b54d7a0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
http-server: send $res in wrong method case
- Commit:
ed77be6862e23dbd16a470dbeed633200d4ece9c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
fix previous; pledge("stdio") must wait until after the TLS handshake
- Commit:
69e2f7200332153e8dd19ba643dc552c6f26ac6e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
use pledge("stdio") late in got-fetch-http, currently as early as possible
- Commit:
cf87b1d1df52185fa21efde684c398a2d1c61d1d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
remove dead code under DEBUG_HTTP; ok op@
- Commit:
a9a48d93a276ff55f1ad9902dd84b77c899fd027
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
use unveil to restrict filesystem access of got-fetch-http
With HTTPS we only need to be able to read /etc/ssl/cert.pem.
With plaintext HTTP no filesystem access is needed at all.
- Commit:
e9495ffd168087aa382d316bfd6d75f2082b462e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
can drop "rpath" pledge in got-fetch-http if plaintext HTTP is being used
- Commit:
cc66d7541018b667f159ed509c2d63885e2432e2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
attempt to kill http-server when tests exit abnormally
- Commit:
66f0e755b3853ac752edb570869940668da7f4b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
fix test dir name
- Commit:
2a58fc49f114494d86fc82b0a2d17836bc309174
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add a basic HTTP test for 'got send', expecting failure
- Commit:
7e73edb28e11c714302f015e9fd4f134a5115931
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add a basic test for HTTP protocol used with 'got fetch'
- Commit:
32ce4ae6a63eea94cb446e223ef366d683d8b252
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
drop git+ssh protocol name from documentation; Git has done the same
We can keep accepting git+ssh for backwards compatibility with
existing configs.
- Commit:
4ef7a6b02cc08e50758cf07eef17bc3abed121b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
doc tweaks regarding HTTP protocol support
- Commit:
9af9ce32009f0b3e2f282c066cb1f5085363f230
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
document new regress dependency on p5-http-daemon
- Commit:
bc3928c79c93537a0b1f94b2ba678430f22fedab
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add a basic regression test for 'got clone' over HTTP
- Commit:
a36700cf7dff48deb717ff99b6e95645807c7704
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
ensure that a pkt-line fits into read buffers used by got-fetch-http
- Commit:
2042cc6e3c9eebd4097a06555b78471b53032309
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
fmt
- Commit:
04ab4c192a0fc027d6e0f5a74fde5e27bf34f1b9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
http-server: cleanup (unused) global state
- Commit:
8c61ad04ec88db3975dc53ba6e4d20ba8d604643
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
http-server: error on unknown method
just for robustness; neither git nor got-fetch-http are expected to
use other methods except for GET and POST.
- Commit:
1ce583f009ec942f93fffd45f9bd671384c1439f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add http-server; will be used to test got-fetch-http
based on a draft by stsp; git(1) manages to clone from it.
- Commit:
b39e70da819f164300ad8dc002f029f37a139a61
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add missing \n to got-fetch-http debug output