117 Commits (65a6f4be5f6e286fbb77448aba94b9d75958f0ec)

Author SHA1 Message Date
Con Kolivas 328a85c1fe Only assume clients have disconnected on an error from recv 11 years ago
Con Kolivas b6030d3809 Close sockets immediately after every received message in connector and stratifier 11 years ago
Con Kolivas 9db3db3b8b Enable keepalive and nodelay for remote clients and remove mistaken setting of noblock, and add reuseaddr option to sockets 11 years ago
Con Kolivas 6a7e1bcc37 Add fake submit parsing and poll every second instead of millisecond 11 years ago
Con Kolivas 3bee9efed6 Remove invalidated clients from broadcasts 11 years ago
Con Kolivas 8be725bde6 Retry binding the connector to the socket for up to 2 minutes 11 years ago
Con Kolivas 7f0824260b Disconnect clients that send invalid json 11 years ago
Con Kolivas 72ebb96ef6 Return a json response to any valid json from the stratifier to connector to send to the relevant connected client 11 years ago
Con Kolivas 1b745f0db3 Pass recognised json messages sent to connector to stratifier with the added client_id field 11 years ago
Con Kolivas 718bf11a46 Reference clients by id, not fd since fd can be the same and be invalidated 11 years ago
Con Kolivas 5a0d3f8d24 Create a hashtable of workbases as they're created, removing them if they're older than 10 minutes old 11 years ago
Con Kolivas 438f8c4472 Add the beginnings of a sanity checking client message parser 11 years ago
Con Kolivas f2b32839c1 Create a client instance hash table and use it to determine which fds need to be polled 11 years ago
Con Kolivas 3c21f90aab Use poll to connect many clients and see which connections need to be read in connector 11 years ago
Con Kolivas bcbafba42e Create a thread from the connector process that listens for incoming connections and opens new connections for them 11 years ago
Con Kolivas 55b8e8424a Add connector process which will process all remote communications 11 years ago