Accept error packets in any context
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 10 repliesIn review
- v11 patch 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Use packet_reader instead of packet_read_linebuiltin/ builtin/ fetch-pack.c +3 more | +129 | 3 replies | |
| 2/2 | pack-protocol.txt: accept error packets in any contextDocumentation/ builtin/ builtin/ +12 more | +54 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Josh Steadmon |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Accept error packets in any context
This makes it possible for servers to send an error message back to clients in an arbitrary situation.
The first patch was originally sent in [1]. This version includes some fix.
The second patch was originally sent in [2]. Later, this was cherry-picked in [3]. In the discussion in [3], we agreed that this error packet handling should be done only against the Git pack protocol handling code. With this agreement, the patch series sent in [3] is abandoned (according to [4]). This is a patch series based on that agreement on limiting the error packet handling.
[1]: https://public-inbox.org/git/[email protected]/
[2]: https://public-inbox.org/git/[email protected]/
[3]: https://public-inbox.org/git/df7d3659ae5f11d163f1e992f3b9403be709ddb7.1544572142.git.steadmon@google.com/
[4]: https://public-inbox.org/git/[email protected]/
Masaya Suzuki (2):
Use packet_reader instead of packet_read_line pack-protocol.txt: accept error packets in any context
Documentation/technical/pack-protocol.txt | 20 +++---- builtin/archive.c | 19 +++---- builtin/fetch-pack.c | 3 +- builtin/receive-pack.c | 62 +++++++++++---------- builtin/send-pack.c | 3 +- connect.c | 3 -- fetch-pack.c | 65 +++++++++++++---------- pkt-line.c | 4 ++ pkt-line.h | 8 ++- remote-curl.c | 29 ++++++---- send-pack.c | 39 +++++++------- serve.c | 5 +- t/t5703-upload-pack-ref-in-want.sh | 4 +- transport.c | 3 +- upload-pack.c | 40 +++++++------- 15 files changed, 174 insertions(+), 133 deletions(-)
Signature · 1 line
2.20.1.415.g653613c723-goog