This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-server".

The branch, master has been updated
       via  7135e45003e17b8f5b52e25e44c25a0afa87dd69 (commit)
      from  4189776a348d36a0401dc2921562f66517c59f5c (commit)


Summary of changes:
 src/Snap/Internal/Http/Server/LibevBackend.hs  |    2 +-
 src/Snap/Internal/Http/Server/SimpleBackend.hs |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7135e45003e17b8f5b52e25e44c25a0afa87dd69
Author: Gregory Collins <[email protected]>
Date:   Thu May 27 19:41:59 2010 -0400

    Fix: listen queue size

diff --git a/src/Snap/Internal/Http/Server/LibevBackend.hs 
b/src/Snap/Internal/Http/Server/LibevBackend.hs
index 1064fd1..80a7237 100644
--- a/src/Snap/Internal/Http/Server/LibevBackend.hs
+++ b/src/Snap/Internal/Http/Server/LibevBackend.hs
@@ -137,7 +137,7 @@ bindIt bindAddress bindPort = do
     addr <- getHostAddr bindPort bindAddress
     setSocketOption sock ReuseAddr 1
     bindSocket sock addr
-    listen sock bindPort
+    listen sock 150
     let sockFd = fdSocket sock
     c_setnonblocking sockFd
     return (sock, sockFd)
diff --git a/src/Snap/Internal/Http/Server/SimpleBackend.hs 
b/src/Snap/Internal/Http/Server/SimpleBackend.hs
index 3ef28bc..1e3fae3 100644
--- a/src/Snap/Internal/Http/Server/SimpleBackend.hs
+++ b/src/Snap/Internal/Http/Server/SimpleBackend.hs
@@ -82,7 +82,7 @@ bindIt bindAddress bindPort = do
     addr <- getHostAddr bindPort bindAddress
     setSocketOption sock ReuseAddr 1
     bindSocket sock addr
-    listen sock bindPort
+    listen sock 150
     return sock
 
 
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap-server
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to