--EqVOK5mkaJAMmtSx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Eric Hodel (drbrain / segment7.net) wrote:

> See alpha3, which does this the right way:
> http://segment7.net/ruby-code/borges/Borges-1.0.0-alpha3.tar.gz

Oh, ha! I lied, I fixed this _after_ alpha3 (about 5 minutes after) :(

Here's the patch:

CS file: /home/cvs/ruby/seaside2/Borges/lib/Borges/WEBrick.rb,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -F ^[   ]*\(class\|module\|def\)  -r1.9 -r1.10
--- ruby/seaside2/Borges/lib/Borges/WEBrick.rb  2003/12/21 02:53:52 1.9
+++ ruby/seaside2/Borges/lib/Borges/WEBrick.rb  2003/12/22 04:05:49 1.10
@@ -60,11 +60,10 @@   def do_GET(req, res)
   # and mounts the Borges::WEBrickServlet on /borges.
   
   def self.create(options)
-    options[:BindAddress] ||= '0.0.0.0'
+    options[:BindAddress] ||= nil
     options[:Port] ||= 7000
 
     server = WEBrick::HTTPServer.new(options)
-    server.listen('::', 7000)
     server.mount("/borges", self, options)
 
     return server


-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04


--EqVOK5mkaJAMmtSx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/6UE1MypVHHlsnwQRAoTSAJwKUpJZL9AHcni8kB/y8SHs6rGbFwCdF+NC
wIHMcSmEghF3a4aRQfeTT50
7n
-----END PGP SIGNATURE-----

--EqVOK5mkaJAMmtSx--