Commits
- Commit:
c4caaee88e58b02fae4d446ceb99147ed9ed3b0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove dead code under DEBUG_HTTP; ok op@
- Commit:
e845266448678a874b53e7f9e0d16988815c2c92
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
625c83c97f21ca7f19e430bc35a05a666c8824bf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
can drop "rpath" pledge in got-fetch-http if plaintext HTTP is being used
- Commit:
c2a5e1d857119735fd39b8360f688083e6361e8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
attempt to kill http-server when tests exit abnormally
- Commit:
ee99ea06f4c0194ace6b3b4520e50adbf7ca922c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix test dir name
- Commit:
3c7a82272c81f61ca8742b226ad872c890d64d94
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a basic HTTP test for 'got send', expecting failure
- Commit:
d3bfa9a153550bf95a0017f1ff8827181280d640
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a basic test for HTTP protocol used with 'got fetch'
- Commit:
449ea7f22083788e4dc012f4ab6649594f92a563
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
bf7104912e8cd12ec0b6f91fff2bec7759b43f09
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
doc tweaks regarding HTTP protocol support
- Commit:
c1556ace93d8429cb6b1096ea935efe155d9acdf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document new regress dependency on p5-http-daemon
- Commit:
f6592003af9cd04c23a4990f6194b62532570ec8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a basic regression test for 'got clone' over HTTP
- Commit:
18c37abb9e744da66fee2a2417d0ee132d05aed7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that a pkt-line fits into read buffers used by got-fetch-http
- Commit:
4b652004e7b2173b05e8d4fbe97143810c3c250a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
f363c7f19c5c1aee482e2c3ef9fa75a56bebbd2e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http-server: cleanup (unused) global state
- Commit:
78ddde0cca53e19ad73fc9ef4d1b9b5d7fdcdcb9
- From:
- Omar Polo <op@omarpolo.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:
1df8adf959220912dba2187d7cf1b428868da4bb
- From:
- Omar Polo <op@omarpolo.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:
4c09484283aa20854c6ae8e08e6b6f5ba5ff32f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing \n to got-fetch-http debug output
- Commit:
fe08c8a762cda56356f90cbe27c11f4617b7e450
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert my previous two commits because they broke clone over http
- Commit:
bcf7cd444a9e9057ce6f48cfb03573b4972d7559
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
fd1b27119fe0bafd2e0b5ee26e877c742edfeb0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
log pkt lines read and written by got-fetch-http, in verbose mode
- Commit:
3bdb50664480ef16bc57431ac739d4010133d2a2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd: don't ignore error in session_dispatch_repo_child
ok stsp
- Commit:
050c0b8ca3bc56e34b304d886ed11ec58badadf2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: implement basic authentication
ok stsp
- Commit:
b1ebf3b36ff38d95f3c552bcddb2ad4c3e910d06
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add comments to the HTTP fetching process which clarify how it works
- Commit:
7457011ad491370bd5ae4cbd56c4065715659fc0
- From:
- Tobias Heider <me@tobhe.de>
- Date:
Remove some dead code
- Commit:
4c3169974bebdf5072ad0f7974f68db8676c644c
- From:
- Tobias Heider <me@tobhe.de>
- 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@