Skip to content
This repository
Browse code

Finding an empty port for cherokee-admin's server.py, the socket left…

… open

and server.py was not be able to bind to that port.

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6880 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
commit b142952de56a7a9f7d576e9c8529df55a1443923 1 parent a00cd06
Antonio Pérez skarcha authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  cherokee/main_admin.c
1  cherokee/main_admin.c
@@ -104,6 +104,7 @@ find_empty_port (int starting, int *port)
104 104 }
105 105 }
106 106
  107 + cherokee_socket_close (&s);
107 108 cherokee_socket_mrproper (&s);
108 109 cherokee_buffer_mrproper (&bind_);
109 110

0 comments on commit b142952

Please sign in to comment.
Something went wrong with that request. Please try again.