Virtual Host support on the embedded HTTP server

David M. Lloyd david.lloyd at redhat.com
Fri Dec 4 12:17:31 PST 2009


I've crafted a simple patch which extends the API of the embedded HTTP 
server to support virtual hosts.  The patch is designed to add the new 
functionality without breaking existing implementations which do not 
support virtual hosts, or code which uses the HttpServer API today.  It 
does not include an implementation; however, the default implementation 
should be easy to extend, from a brief look over the code.

The patch is attached.  Please let me know what you think.

- DML
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtual-hosts.patch
Type: text/x-patch
Size: 13247 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20091204/72b221b7/virtual-hosts.patch 


More information about the net-dev mailing list