accept_connection(): Enable socket lingering for the correct socket
authorFabian Keil <fk@fabiankeil.de>
Fri, 6 Nov 2015 13:37:35 +0000 (13:37 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 6 Nov 2015 13:37:35 +0000 (13:37 +0000)
commit915f23de10c8d1d24e70c79adeb1793ea98bf057
tree3c48c404e05acd1df5369696c069b2e3ed4cc3f9
parent861f2331b86d82c770f38b7a60f8328862fe6da3
accept_connection(): Enable socket lingering for the correct socket

Previously we repeatedly enabled it for the listen socket
instead of for the accepted socket. The bug was found by
code inspection and did not cause any (reported) issues.
jbsockets.c