[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
monit/http engine.c
From: |
Martin Pala |
Subject: |
monit/http engine.c |
Date: |
Fri, 19 Sep 2003 05:55:56 -0400 |
CVSROOT: /cvsroot/monit
Module name: monit
Branch:
Changes by: Martin Pala <address@hidden> 03/09/19 05:55:56
Modified files:
http : engine.c
Log message:
Close server socket if monit httpd has exited. It caused problems in the
case that:
- monit was reconfigured to not provide httpd
- monit httpd port or interface to bind to was changed
Now if you reloaded monit, main thread kept the socket open, which was
bad
in both cases. In the forst case the socket was still open by monit but
monit
was not able to respond to requests, in the second case the rebinding
to new
port or interface was not possible and monit httpd failed to start with
socket
freezed same way as in the first case.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/http/engine.c.diff?tr1=1.46&tr2=1.47&r1=text&r2=text
- monit/http engine.c, Jan-Henrik Haukeland, 2003/09/14
- monit/http engine.c, Martin Pala, 2003/09/14
- monit/http engine.c, Jan-Henrik Haukeland, 2003/09/17
- monit/http engine.c, Martin Pala, 2003/09/17
- monit/http engine.c, Jan-Henrik Haukeland, 2003/09/17
- monit/http engine.c, Martin Pala, 2003/09/18
- monit/http engine.c, Martin Pala, 2003/09/18
- monit/http engine.c, Jan-Henrik Haukeland, 2003/09/18
- monit/http engine.c,
Martin Pala <=