Projects / httpx

httpx

Httpx takes over the front-line position of binding and listening on the public address and port of your virtual Web hosting server. In this role, it scans incoming requests looking for the HTTP/1.1 Host: request header entity. Once the Host: value is found for a given request, it is routed to a UNIX domain socket in the local file system located through a cached database lookup. Over this UNIX domain socket, an inter-process descriptor pass occurs to a Web server modified slightly to receive TCP socket descriptors passed over a UNIX domain socket instead of binding, listening for, and accepting TCP sockets. This allows vhosts to share an IP address while having private, host-specific, potentially unique httpd contexts.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  09 Mar 2009 15:47

    Release Notes: "Host:" values are now truncated to remove any trailing dots or whitespace before being used in the HostMap lookup. In previous versions, "Host:" values like "www.foo.com." would result in a lookup of "www.foo.com.", requiring rows for both "www.foo.com" and "www.foo.com.". With this version, the value "www.foo.com." will result in a lookup of "www.foo.com", simplifying the HostMap configuration.

    •  23 Feb 2009 11:19

      Release Notes: Fixes were made to the pre-Linux-2.6.28 broken SO_RCVLOWAT/MSG_PEEK workaround, which restores enforcement of idle timeouts and adds correct handling of connections that closed after httpx had already recv()'d a partial request. The descriptor passing sendmsg() call was fixed to disable potential delivery of SIGPIPE on errors.

      •  13 Feb 2009 18:30

        Release Notes: A corner-case UNIX domain socket leak has been plugged.

        •  26 Nov 2008 19:36

          Release Notes: Parallel refreshes of the hostmap cache are now prevented as originally intended, and a small memory leak at refresh has been eliminated.

          •  27 Oct 2008 10:12

            Release Notes: In-process caching of the HostMap table contents has been added. This allows httpx to continue handling requests even if MySQL is unavailable for whatever reason. The cache is populated with the HostMap table contents immediately upon startup, then periodically refreshed when servicing requests.

            Recent comments

            25 Mar 2009 20:33 swivel

            This project kicks ass

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.