]> git.kaiwu.me - haproxy.git/commit
MEDIUM: connection: remove conn_{data,sock}_poll_{recv,send}
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Jan 2014 19:02:06 +0000 (20:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Jan 2014 23:42:30 +0000 (00:42 +0100)
commite1f50c4b025330511cca1b5218d2f4537743ea19
treede1b9a0bec37e5fb7a836bb1c50b1ed8455465e2
parent310987a0389d01d4472b2c43c0c650c9b254510b
MEDIUM: connection: remove conn_{data,sock}_poll_{recv,send}

We simply remove these functions and replace their calls with the
appropriate ones :

  - if we're in the data phase, we can simply report wait on the FD
  - if we're in the socket phase, we may also have to signal the
    desire to read/write on the socket because it might not be
    active yet.
include/proto/connection.h
src/connection.c
src/proto_tcp.c
src/raw_sock.c
src/ssl_sock.c
src/stream_interface.c