connection: guard against fd overflow

This commit is contained in:
Wim Taymans 2017-03-09 19:42:35 +01:00
parent 8fbcb0fef1
commit 5440435405
4 changed files with 9 additions and 4 deletions

View file

@ -664,7 +664,7 @@ client_node_done (void *object,
PinosProxy *proxy = object;
PinosStream *stream = proxy->user_data;
pinos_log_warn ("create client node done");
pinos_log_info ("strean %p: create client node done with fd %d", stream, datafd);
handle_socket (stream, datafd);
do_node_init (stream);
}