mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 07:07:04 +02:00
* released 1.1.15
* replaced setpgid()/setpgrp() with setsid() for better portability, because setpgrp() doesn't have the same meaning under Solaris, Linux, and OpenBSD.
This commit is contained in:
parent
cd87894af0
commit
e867b4881f
10
haproxy.c
10
haproxy.c
@ -18,6 +18,9 @@
|
|||||||
*
|
*
|
||||||
* ChangeLog :
|
* ChangeLog :
|
||||||
*
|
*
|
||||||
|
* 2002/08/07 : 1.1.15
|
||||||
|
* - replaced setpgid()/setpgrp() with setsid() for better portability, because
|
||||||
|
* setpgrp() doesn't have the same meaning under Solaris, Linux, and OpenBSD.
|
||||||
* 2002/07/20 : 1.1.14
|
* 2002/07/20 : 1.1.14
|
||||||
* - added "postonly" cookie mode
|
* - added "postonly" cookie mode
|
||||||
* 2002/07/15 : 1.1.13
|
* 2002/07/15 : 1.1.13
|
||||||
@ -173,8 +176,8 @@
|
|||||||
#include <linux/netfilter_ipv4.h>
|
#include <linux/netfilter_ipv4.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define HAPROXY_VERSION "1.1.14"
|
#define HAPROXY_VERSION "1.1.15"
|
||||||
#define HAPROXY_DATE "2002/07/20"
|
#define HAPROXY_DATE "2002/08/07"
|
||||||
|
|
||||||
/* this is for libc5 for example */
|
/* this is for libc5 for example */
|
||||||
#ifndef TCP_NODELAY
|
#ifndef TCP_NODELAY
|
||||||
@ -4852,8 +4855,7 @@ int main(int argc, char **argv) {
|
|||||||
global.mode |= MODE_QUIET; /* ensure that we won't say anything from now */
|
global.mode |= MODE_QUIET; /* ensure that we won't say anything from now */
|
||||||
}
|
}
|
||||||
pid = getpid(); /* update child's pid */
|
pid = getpid(); /* update child's pid */
|
||||||
setpgid(1, 0);
|
setsid();
|
||||||
setpgrp();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
select_loop();
|
select_loop();
|
||||||
|
Loading…
Reference in New Issue
Block a user