aboutsummaryrefslogtreecommitdiffstats
path: root/pkt-line.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-12Merge branch 'jx/sideband-chomp-newline-fix'Junio C Hamano1-5/+31
2023-12-26pkt-line.h: remove unnecessary includeElijah Newren1-0/+1
2023-12-18pkt-line: do not chomp newlines for sideband messagesJiang Xin1-2/+29
2023-12-18pkt-line: memorize sideband fragment in readerJiang Xin1-3/+2
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-07pkt-line: add size parameter to packet_length()René Scharfe1-4/+8
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-04-24treewide: remove cache.h inclusion due to previous changesElijah Newren1-1/+1
2023-04-24copy.h: move declarations for copy.c functions from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-03-21write-or-die.h: move declarations for write-or-die.c functions from cache.hElijah Newren1-0/+1
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2022-08-14t0021: implementation the rot13-filter.pl script in CMatheus Tavares1-1/+4
2021-11-11fetch-pack: redact packfile urls in tracesIvan Frade1-1/+39
2021-10-25Merge branch 'ab/pkt-line-cleanup'Junio C Hamano1-38/+7
2021-10-15pkt-line.[ch]: remove unused packet_read_line_buf()Ævar Arnfjörð Bjarmason1-22/+7
2021-10-15pkt-line.[ch]: remove unused packet_buf_write_len()Ævar Arnfjörð Bjarmason1-16/+0
2021-09-01pkt-line: add stdio packet write functionsJacob Vosmaer1-0/+37
2021-07-28Merge branch 'dl/packet-read-response-end-fix'Junio C Hamano1-1/+1
2021-07-09pkt-line: replace "stateless separator" with "response end"Denton Liu1-1/+1
2021-04-15pkt-line: do not report packet write errors twiceMatheus Tavares1-7/+24
2021-03-15pkt-line: add options argument to read_packetized_to_strbuf()Johannes Schindelin1-2/+2
2021-03-15pkt-line: add PACKET_READ_GENTLE_ON_READ_ERROR optionJohannes Schindelin1-2/+17
2021-03-15pkt-line: do not issue flush packets in write_packetized_*()Johannes Schindelin1-6/+2
2021-03-15pkt-line: eliminate the need for static buffer in packet_write_gently()Jeff Hostetler1-8/+20
2020-10-29sideband: diagnose more sideband anomaliesJeff King1-6/+8
2020-10-20sideband: report unhandled incomplete sideband messages as bugsJohannes Schindelin1-0/+3
2020-07-06Merge branch 'bc/sha-256-part-2'Junio C Hamano1-0/+1
2020-05-27pkt-line: add a member for hash algorithmbrian m. carlson1-0/+1
2020-05-24pkt-line: define PACKET_READ_RESPONSE_ENDDenton Liu1-0/+11
2020-05-19pkt-line: extern packet_length()Denton Liu1-3/+3
2019-05-16pkt-line: drop 'const'-ness of a param to set_packet_header()Junio C Hamano1-1/+1
2019-04-15pkt-line: prepare buffer before handling ERR packetsJeff King1-4/+5
2019-03-20Merge branch 'jk/no-sigpipe-during-network-transport'Junio C Hamano1-2/+4
2019-03-05fetch: avoid calling write_or_die()Jeff King1-2/+4
2019-03-03remote-curl: use post_rpc() for protocol v2 alsoJonathan Tan1-1/+1
2019-01-17{fetch,upload}-pack: sideband v2 fetch responseJonathan Tan1-11/+32
2019-01-17sideband: reverse its dependency on pkt-lineJonathan Tan1-0/+23
2019-01-15pkt-line: introduce struct packet_writerJonathan Tan1-6/+41
2019-01-02pack-protocol.txt: accept error packets in any contextMasaya Suzuki1-0/+4
2018-07-23pkt-line.c: mark more strings for translationNguyễn Thái Ngọc Duy1-13/+13
2018-07-23Update messages in preparation for i18nNguyễn Thái Ngọc Duy1-1/+1
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-1/+1
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-1/+1
2018-03-15pkt-line: add packet_buf_write_len functionBrandon Williams1-0/+16
2018-03-14pkt-line: add delim packet supportBrandon Williams1-0/+16
2018-03-14pkt-line: allow peeking a packet line without consuming itBrandon Williams1-0/+50
2018-03-14pkt-line: introduce packet_read_with_statusBrandon Williams1-14/+37
2017-12-06Merge branch 'bw/protocol-v1'Junio C Hamano1-0/+6
2017-10-17pkt-line: add packet_write functionBrandon Williams1-0/+6
2017-09-27prefer "!=" when checking read_in_full() resultJeff King1-1/+1
2017-09-25Merge branch 'jk/write-in-full-fix'Junio C Hamano1-15/+14
2017-09-19Merge branch 'ma/pkt-line-leakfix'Junio C Hamano1-1/+2
2017-09-14pkt-line: check write_in_full() errors against "< 0"Jeff King1-15/+14
2017-09-06pkt-line: re-'static'-ify buffer in packet_write_fmt_1()Martin Ågren1-1/+2
2017-07-26sub-process: refactor handshake to common functionJonathan Tan1-19/+0
2017-05-08convert: move packet_write_line() into pkt-line as packet_writel()Ben Peart1-0/+19
2017-05-08pkt-line: add packet_read_line_gently()Ben Peart1-0/+12
2017-05-08pkt-line: fix packet_read_line() to handle len < 0 errorsBen Peart1-1/+1
2016-10-17pkt-line: add functions to read/write flush terminated packet streamsLars Schneider1-0/+72
2016-10-17pkt-line: add packet_write_gently()Lars Schneider1-0/+17
2016-10-17pkt-line: add packet_flush_gently()Lars Schneider1-0/+8
2016-10-17pkt-line: add packet_write_fmt_gently()Lars Schneider1-4/+30
2016-10-17pkt-line: extract set_packet_header()Lars Schneider1-6/+13
2016-10-17pkt-line: rename packet_write() to packet_write_fmt()Lars Schneider1-1/+1
2016-09-07introduce hex2chr() for converting two hexadecimal digits to a characterRené Scharfe1-21/+2
2015-09-01pkt-line: show packets in async processes as "sideband"Jeff King1-1/+7
2015-06-16pkt-line: support tracing verbatim pack contentsJeff King1-15/+44
2015-06-15pkt-line: tighten sideband PACK check when tracingJeff King1-1/+1
2015-06-15pkt-line: simplify starts_with checks in packet tracingJeff King1-2/+1
2014-12-10pkt-line: allow writing of LARGE_PACKET_MAX buffersJeff King1-18/+19
2014-07-13trace: improve trace performanceKarsten Blees1-4/+4
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-2/+2
2013-02-24pkt-line: share buffer/descriptor reading implementationJeff King1-38/+38
2013-02-20pkt-line: provide a LARGE_PACKET_MAX static bufferJeff King1-2/+7
2013-02-20pkt-line: teach packet_read_line to chomp newlinesJeff King1-1/+6
2013-02-20pkt-line: provide a generic reading function with optionsJeff King1-13/+8
2013-02-20pkt-line: drop safe_write functionJeff King1-19/+2
2013-02-20pkt-line: move a misplaced commentJeff King1-15/+0
2012-06-19remove the impression of unexpectedness when access is deniedHeiko Voigt1-6/+26
2011-04-03sparse: Fix errors and silence warningsStephen Boyd1-1/+1
2011-03-08add packet tracing debug codeJeff King1-1/+54
2009-10-30pkt-line: Make packet_read_line easier to debugShawn O. Pearce1-1/+1
2009-10-30pkt-line: Add strbuf based functionsShawn O. Pearce1-12/+72
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast1-2/+2
2008-05-03Cleanup xread() loops to use read_in_full()Heikki Orsila1-10/+5
2007-06-07War on whitespaceJunio C Hamano1-1/+1
2007-05-15Ensure return value from xread() is always stored into an ssize_tJohan Herland1-2/+2
2006-12-18make git a bit less cryptic on fetch errorsNicolas Pitre1-1/+1
2006-06-21Merge branch 'ff/c99' into nextJunio C Hamano1-2/+2
2006-06-21upload-pack/fetch-pack: support side-band communicationJunio C Hamano1-1/+3
2006-06-20Remove all void-pointer arithmetic.Florian Forster1-2/+2
2005-12-19xread/xwrite: do not worry about EINTR at calling sites.Junio C Hamano1-8/+3
2005-06-29Make send/receive-pack be closer to doing something interestingLinus Torvalds1-0/+117