Commits
- 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
- Commit:
f1d0a69863bb9f6c8234a52c4229fc5debe0a82f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
revert my previous two commits because they broke clone over http
- Commit:
3b4ee51b0d8c37b85d25bd460969065466b58838
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make got-fetch-http get_refs() understand when packet lines end
Previously it would only exit the loop when reading failed.
ok tobhe@
- Commit:
8e1fcd55c45b2b550cec5585276e93d7f5d896fe
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
log pkt lines read and written by got-fetch-http, in verbose mode
- Commit:
d26cab49f3ea5045a51e36dd8314bf996aeab302
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
gotd: don't ignore error in session_dispatch_repo_child
ok stsp
- Commit:
f0b0cfba3e8297bc87bbd8a9aa2e9d84a0ac6497
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: implement basic authentication
ok stsp
- Commit:
ff4d9c2e05d9f8f0b985f1ca27789ff37c9968bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add comments to the HTTP fetching process which clarify how it works
- Commit:
8ee2e0cf585dcaf492487fb8afc4c9099194651a
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Remove some dead code
- Commit:
452122e274c9980e7776212df071c7104da18d52
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Rewrite got-fetch-http I/O using bufio API. This should help make the
code more portable supports almost everything we need out of the box.
pledge needs the rpath promise because of libtls. This was technically
also the case with the old API but we didn't actually enable pledge
thanks to DEBUG_HTTP.
The synchronous bufio wrappers should probably move to lib/bufio.c
in the future.
ok and feedback from op@