]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: http: add a few comments on certain functions' assumptions about streams
authorWilly Tarreau <w@1wt.eu>
Wed, 29 Apr 2020 09:52:51 +0000 (11:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 29 Apr 2020 09:55:36 +0000 (11:55 +0200)
commiteae837295d1f63ea46530a4f77108739f04a83c7
tree679f3ac7cce7911d1933336ec3436bad01ea84f7
parenta1062a4de8ba300979cc380b69b284f86dc13853
CLEANUP: http: add a few comments on certain functions' assumptions about streams

get_http_auth() expects a valid stream but this is not mentioned, though
fortunately it's always called from places which already check this.

smp_prefetch_htx() performs all the required checks and is the key to the
stability of almost all sample fetch functions, so let's make this clearer.
src/http_fetch.c