commit | d0ad4a87f03f5dafa9588f711788c15ba9eb85ff | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 25 11:13:53 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 26 17:32:51 2018 +0200 |
tree | 0994dc9b7c98912f6bc10428d9daafe9277a059e | |
parent | 9624faec8653121386fdf986540f33676b00f5fc [diff] |
MEDIUM: queue: make pendconn_free() work on the stream instead Now pendconn_free() takes a stream, checks that pend_pos is set, clears it, and uses pendconn_unlink() to complete the job. It's cleaner and centralizes all the bookkeeping work in pendconn_unlink() only and ensures that there's a single place where the stream's position in the queue is manipulated.