GaloisInc/http-server — pull request #1 by achudnov (2012-09-04 23:49:42+00:00)
Title: Make the package buildable with the latest GHC and dependency libraries

HTTP-4000.2.0 broke the API in Network.TCP by changing the type signature of socketConnection. This caused the build to fail in Server.hs. The attached commit provides a work-around consistent with the network library (the main thing was providing a dummy port number (-1) for Unix socket connections that don't have a port number by definition).