unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / 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; 1+ messages 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
       end
     end
-- 
EW


^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

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

unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror https://bogomips.org/unicorn-public
	git clone --mirror http://ou63pmih66umazou.onion/unicorn-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.unicorn
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.unicorn

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox