author | Sebastian Harl <sh@tokkee.org> | |
Fri, 25 Oct 2013 15:40:57 +0000 (17:40 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 25 Oct 2013 15:40:57 +0000 (17:40 +0200) | ||
commit | 6352cfade8fc075e0af5cf7ae9fadc6611a9b476 | |
tree | f8cc77b594d630cf858e7b9b062ddd2056751381 | tree | snapshot |
parent | 7883754015815be0be6df492000bb38d138548a6 | commit | diff |
socket frontend: Manage open connections in listen_and_serve().
For that purpose, added a new object data type wrapping a connection. All open
connections are managed in a linked-link in the socket object. The main loop
now also waits data to be available on an open connection and then passed on
the connection object to the connection handler thread which is then supposed
to handle requests (not implemented yet).
For that purpose, added a new object data type wrapping a connection. All open
connections are managed in a linked-link in the socket object. The main loop
now also waits data to be available on an open connection and then passed on
the connection object to the connection handler thread which is then supposed
to handle requests (not implemented yet).
src/frontend/sock.c | diff | blob | history |