Commit Graph

16 Commits (91fb6099509615e98298d24a20a4a249cce49619)

Author SHA1 Message Date
John Benediktsson 4e11474d34 io.sockets: check ipv4 and ipv6 for valid address strings. 2011-08-19 14:19:09 -07:00
Slava Pestov cb561b683b io.sockets: fix unit test on Windows 2011-02-27 14:38:47 -08:00
Slava Pestov 4106ddc10f io.sockets: add scope-id to ipv6 addrspecs, fixing a problem with connecting to localhost on Mac OS X (and other systems) where localhost is associated with a link-local address such as fe80::1 2011-02-25 22:33:28 -08:00
Doug Coleman 904e9dd8ef Add a method on url-addr for local ports
Remove test for code that got reverted
2010-10-08 08:42:19 -07:00
Slava Pestov 8e772338ee Various cleanups for Doug's recent socket addressing change
- urls: now have a host/port slots again, add a new set-url-addr word
- http.server: fix host header parsing for IPv6 addresses
2010-10-06 23:00:38 -07:00
Doug Coleman b7c225116b Since ip4/ip6 services can run on different ports, we must include which version of ip we're using instead of just a port. Make URL objects store an inet4/i nt6/inet object with host/port slots instead of storing host/port slots separately. Stricter error checking on inet4/inet6 tuple creation. Update lots of code related to the URL change. 2010-10-05 09:56:29 -05:00
Slava Pestov 7ecdda22c3 io.sockets: f 0 <inet4> should work 2010-09-04 15:41:12 -07:00
Slava Pestov eece1e30df io.sockets: clean up resolve-host 2010-09-04 14:42:05 -07:00
Doug Coleman 91c25e2a48 Better fix for ipv6 2010-01-24 15:57:06 -06:00
Doug Coleman 26a5085499 Handle IPv6 addresses of the form ::127.0.0.1 2010-01-24 15:40:34 -06:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 33c09acbb5 Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default 2009-09-04 05:02:33 -05:00
Slava Pestov 50641a5059 Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems 2009-08-24 02:26:13 -05:00
Samuel Tardieu 573c150409 inet6 address components cannot be stored as bytes as they are 16 bits long 2009-01-16 11:06:32 +01:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00