Commit Graph

47 Commits (df8c370e17b56cf7b19240283c02568a73db2bc7)

Author SHA1 Message Date
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
Slava Pestov 721d035901 http.server: closing socket without sending any text would hang the http.server. Fixes #311 2011-10-28 23:54:55 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 6417f36397 namespaces: adding a "with-global" word to replace "global [ ] bind". 2011-10-13 17:21:59 -07:00
John Benediktsson e7fb699832 http.server: ignore preceding whitespace before request lines. Fixes #252. 2011-10-12 20:21:16 -07:00
John Benediktsson 46f8225f7a http: change client/server to support LF and CRLF delimited headers. 2011-10-12 12:51:49 -07:00
Slava Pestov 89ae9d9638 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 32f447d796 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
Doug Coleman 0bbfa64b24 Squashed commit of the following:
commit 54b3e19c7407707fabddd53872559c58cd5143d2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:10:15 2010 -0500

    Fix typo

commit 3207516dc93e0e1edc9f119efcc79f4484eab244
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:08:30 2010 -0500

    Rename io.servers.connection to io.servers
2010-09-27 19:12:33 -05:00
Doug Coleman aa8c12a84b Squashed commit of the following:
commit 8a15381d30508b8f36a9e36dc3a0afc3c962c853
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 11 14:32:30 2010 -0500

    Squash threaded-server branch
2010-09-19 13:38:02 -05:00
Doug Coleman dc4970e234 Fix file uploads by using unlimit-stream for now. Will compare solution to with-combinators tomorrow. 2010-09-08 02:50:25 -05:00
Slava Pestov 97e6ac1c50 http: turns out we do need to handle port number in host header, and client needs to send it but only for non-default ports, since sending it for the default port breaks Twitter's HTTP server (reported by John Benediktsson) 2010-08-20 18:28:50 -07:00
Joe Groff f7960c7f6a http.server: reintroduce some code cleanups now that it's back in a working state 2010-07-09 14:52:42 -07:00
Joe Groff 67a241eba3 http.server: revert d00ea changes so that server works again 2010-07-09 14:47:34 -07:00
Joe Groff 0bdc1514fd io.streams.limited: remove unlimit* 2010-07-09 13:52:15 -07:00
Doug Coleman 2ca509a8fe Split off io.streams.throwing from io.streams.limited and update usages of limited streams 2010-07-09 13:32:09 -05:00
Slava Pestov a7dec01453 http: host header should not include the port number 2010-07-05 22:55:20 -04:00
Slava Pestov 937b05f1de http: clean up and fix some content encoding logic 2010-03-13 22:10:36 +13:00
Slava Pestov 02a4082e1f http.server: decouple charset header from encoding used to send the data, and serve text files as UTF-8 by default 2010-03-13 19:07:35 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 3857006b71 Move furnace.actions:{param,params} and furnace.utilities:request-params to http.server 2009-08-03 14:58:18 -05:00
Doug Coleman 50e6fac013 change threaded-server and managed-server to take an encoding 2009-05-30 19:15:53 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Slava Pestov fd0fd8fb71 Remove useless slot 2009-03-20 01:53:49 -05:00
Slava Pestov 4b26ff6a95 Add variables to set request-limit and upload-limit 2009-03-20 01:47:09 -05:00
Slava Pestov 0d38d2f7e8 Fix more stack effects 2009-03-15 18:28:46 -05:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -06:00
Slava Pestov cb174f0db1 Regression: HTTP server would fail to serve files with binary encoding after Dan's io.encodings.iana changes from earlier today 2009-02-04 04:17:24 -06:00
Slava Pestov 7a8dc80426 Fix some issues in http.server 2009-01-31 20:54:49 -06:00
Daniel Ehrenberg d4f865d5f0 Fixing some things I broke 2009-01-30 19:28:16 -06:00
Daniel Ehrenberg 6372395b8a Fixing everything I broke? 2009-01-29 13:33:04 -06:00
Daniel Ehrenberg d5160ce791 Fixing USING: lines 2009-01-28 15:46:34 -06:00
Doug Coleman 43830f5fcc make mime parsing return a single hashtable instead of several different ones 2009-01-26 15:23:49 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov f160771123 Fix POST with streams to use chunked encoding, add http-put word 2009-01-22 19:08:38 -06:00
Doug Coleman 3150722c7f better http.server that handles multipart data in the same way as regular form data. fix http client for changes 2009-01-21 19:55:25 -06:00
Doug Coleman 050dbf8a60 http server can upload files. WOW! 2009-01-20 16:35:52 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 15eaf33ee8 Remove http.client => logging dependency 2008-10-02 03:38:09 -05:00
Slava Pestov 845c30496d Update usings 2008-09-29 19:49:17 -05:00
Slava Pestov dc1d7c76b7 Clean up some web framework code 2008-09-29 04:10:00 -05:00
Slava Pestov c8b86fcbc2 Fix circularity 2008-09-27 12:16:15 -05:00
Slava Pestov 7a83d2798c Messing with port remapping 2008-09-22 16:54:34 -05:00
Slava Pestov 6d60b5a74f Implement port remapping 2008-09-22 16:49:50 -05:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Slava Pestov 724fae53e9 Move web framework to basis 2008-09-04 18:15:13 -05:00