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

--
unsubscribe: unicorn-public+unsubscr...@bogomips.org
archive: https://bogomips.org/unicorn-public/

Reply via email to