]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream: return the stream upon accept()
authorWilly Tarreau <w@1wt.eu>
Sun, 5 Apr 2015 10:00:52 +0000 (12:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:37:34 +0000 (11:37 +0200)
commit02d863866d9dd8040a82509133b3aea79ab24e29
tree9b8d74a42efbb42354279b18a9d1a4fb30e0ce6c
parentc5a7ff4a86e67f1e80eda0218ef8c3174c4e2586
MEDIUM: stream: return the stream upon accept()

The function was called stream_accept_session(), let's rename it
stream_new() and make it return the newly allocated pointer. It's
more convenient for some callers who need it.
include/proto/stream.h
src/peers.c
src/session.c
src/stream.c