mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-26 22:52:13 +00:00
CLEANUP: mux-h2: Fix h2s_make_data() comment about the return value
2 return values are specified in the h2s_make_data() function comment. Both are more or less equivalent but the later is probably more accurate. So, keep the right one and remove the other one. This patch should fix the issue #2175.
This commit is contained in:
parent
f913d42aaf
commit
69f15b9a40
@ -6224,10 +6224,9 @@ static size_t h2s_snd_bhdrs(struct h2s *h2s, struct htx *htx)
|
||||
}
|
||||
|
||||
/* Try to send a DATA frame matching HTTP response present in HTX structure
|
||||
* present in <buf>, for stream <h2s>. Returns the number of bytes sent. The
|
||||
* caller must check the stream's status to detect any error which might have
|
||||
* happened subsequently to a successful send. Returns the number of data bytes
|
||||
* consumed, or zero if nothing done.
|
||||
* present in <buf>, for stream <h2s>. The caller must check the stream's status
|
||||
* to detect any error which might have happened subsequently to a successful
|
||||
* send. Returns the number of data bytes consumed, or zero if nothing done.
|
||||
*/
|
||||
static size_t h2s_make_data(struct h2s *h2s, struct buffer *buf, size_t count)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user