Skip to content

Commit

Permalink
Merge branch 'PHP-5.5'
Browse files Browse the repository at this point in the history
* PHP-5.5:
  increase backlog to the highest value everywhere
  • Loading branch information
tony2001 committed Oct 27, 2013
2 parents 8cef677 + 9765763 commit 73788d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sapi/fpm/fpm/fpm_sockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#if (__FreeBSD__) || (__OpenBSD__)
#define FPM_BACKLOG_DEFAULT -1
#else
#define FPM_BACKLOG_DEFAULT 128
#define FPM_BACKLOG_DEFAULT 65535
#endif

enum fpm_address_domain fpm_sockets_domain_from_address(char *addr);
Expand Down
4 changes: 2 additions & 2 deletions sapi/fpm/php-fpm.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ group = @php_fpm_group@
listen = 127.0.0.1:9000

; Set listen(2) backlog.
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
;listen.backlog = 128
; Default Value: 65535 (-1 on FreeBSD and OpenBSD)
;listen.backlog = 65535

; Set permissions for unix socket, if one is used. In Linux, read/write
; permissions must be set in order to allow connections from a web server. Many
Expand Down

0 comments on commit 73788d1

Please sign in to comment.