haproxy/dev
Willy Tarreau e61064162b DEV: poll: make the connect() step an action as well
Now the connect() step becomes an action. It's still implicit before
any -c/-s but it allows the listener to close() before connect()
happens, showing the polling status for this condition:

  $ dev/poll/poll -v -l clo -c pol
  #### BEGIN ####
  cmd #1 stp #1: do_clo(3): ret=0
  cmd #2 stp #0: do_con(4): ret=-1 (Connection refused)
  cmd #2 stp #1: do_pol(4): ret=1 ev=0x14 (OUT HUP)
  #### END ####

which differs from a case where the server closes the just accepted
connection:

  $ dev/poll/poll -v -s clo -c pol
  #### BEGIN ####
  cmd #1 stp #0: do_con(4): ret=0
  cmd #1 stp #0: do_acc(3): ret=5
  cmd #1 stp #1: do_clo(5): ret=0
  cmd #2 stp #1: do_pol(4): ret=1 ev=0x2005 (IN OUT RDHUP)
  #### END ####

It's interesting to see OUT+HUP since HUP indicates that both directions
were closed, hence nothing may be written now, thus OUT just wants the
write handler to be notified.
2022-11-17 10:56:35 +01:00
..
base64
coccinelle DEV: coccinelle: add endp_flags.cocci 2022-05-27 19:33:34 +02:00
flags MINOR: flags/mux-fcgi: Decode FCGI connection and stream flags 2022-10-12 17:10:41 +02:00
haring DEV: haring: support remapping LF in contents with CR VT 2022-08-12 12:11:30 +02:00
hpack
plug_qdisc
poll DEV: poll: make the connect() step an action as well 2022-11-17 10:56:35 +01:00
qpack MINOR: qpack: implement standalone decoder tool 2022-06-15 15:42:10 +02:00
tcploop BUILD: makefile: move default verbosity settings to include/make/verbose.mk 2022-11-17 10:56:35 +01:00
trace
udp MINOR: dev/udp: Apply the corruption to both directions 2022-09-08 20:38:59 +02:00