Commits
- 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@
- Commit:
ae3347f19632d3587629f83dae923495c8903a5c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
for now, remove a workaround for http fetch that was added for unknown reasons
ok op@
- Commit:
23022bc04f3cdc9d7ed1ecdc30599b7e1515814d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: add the repository name in the json
ok stsp
- Commit:
8ec83e5b6ebab7711854b45048771661a0f9ec98
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Unset errno and bio->wantev if error was not TLS_WANT_*. This is commonly
called in a loop, if we don't clear them we might keep on looping.
ok stsp@
- Commit:
29460ff0cab862cacf5ec17a35c653e83ffff229
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
improve got-fetch-http request/response logging in verbose mode
- Commit:
cda0eee6bf5beb6465d01eda8542f8c3a4bbce7c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
man page updates for HTTP clone/fetch support
- Commit:
09876a9d351bc3b655effc2a43f536444821d43a
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Rename got-http helper to got-fetch-http to match naming scheme.
We aren't planning to support sending anyway.
ok stsp@