unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH] socket_helper: add hint for FreeBSD users for accf_http(9)
@ 2018-08-20 20:42 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2018-08-20 20:42 UTC (permalink / raw)
  To: unicorn-public; +Cc: Eric Wong

Because I forget to load accf_http on new FreeBSD installs,
too :x
 lib/unicorn/socket_helper.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/unicorn/socket_helper.rb b/lib/unicorn/socket_helper.rb
index b540302..8a6f6ee 100644
--- a/lib/unicorn/socket_helper.rb
+++ b/lib/unicorn/socket_helper.rb
@@ -83,6 +83,7 @@ def set_tcp_sockopt(sock, opt)
         rescue => e
           logger.error("#{sock_name(sock)} " \
                        "failed to set accept_filter=#{name} (#{e.inspect})")
+          logger.error("perhaps accf_http(9) needs to be loaded".freeze)
         end if arg != got

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-20 20:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-20 20:42 [PATCH] socket_helper: add hint for FreeBSD users for accf_http(9) Eric Wong

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).