Code

socket frontend: Let handler read from open connection.
authorSebastian Harl <sh@tokkee.org>
Fri, 25 Oct 2013 17:04:56 +0000 (19:04 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 25 Oct 2013 17:04:56 +0000 (19:04 +0200)
commit60b7521d96faf3dc97118012e80667f1286c17c4
tree9bef92684f9fd6e0904c98d371ca90cd1a7c49f0
parent633201fd36edb21a0283c2541145a13ffea1d1b4
socket frontend: Let handler read from open connection.

Close the connection on EOF and pass back the connection to the main loop in
case no data is currently available (read() would block).
src/frontend/sock.c