]> jfr.im git - irc/rqf/shadowircd.git/commit - servlink/io.c
[svn] Merge old trunk r2077,r2079:
authorjilles <redacted>
Thu, 29 Mar 2007 20:03:06 +0000 (13:03 -0700)
committerjilles <redacted>
Thu, 29 Mar 2007 20:03:06 +0000 (13:03 -0700)
commit64f2a7eb2c2dd82c690c03ff460081dc9a9706be
tree9b2f9fae72c1413e746d7d58e0e97cd56acadd9c
parent0bba17882674b3d9d89e7c7779e314c6a90a95fb
[svn] Merge old trunk r2077,r2079:
- Move closing of servlink control fd to close_connection()
  instead of doing it in exit_local_server(), and make sure
  we first close the data fd and then the control fd.
- Have servlink process ready fds in order net, data, ctrl
  instead of ctrl, data, net.  This seems to fix the problem
  that squit reasons do not show up on the other side of a
  ziplink (by making it send any final SQUIT and/or ERROR
  before noticing the closed control fd).
ChangeLog
include/serno.h
servlink/io.c
src/client.c