Commit Graph

88 Commits (208aeae79c7d24f5e695d3bdb136bb303e003ad2)

Author SHA1 Message Date
John Benediktsson e654e4afd9 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 09d972018d cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 66749aab7d more cleanup for H{ } make. 2012-07-19 11:39:56 -07:00
Doug Coleman be12f2b27d 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 b740d79d91 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 fd853f9958 Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 54b9b3bf14 namespaces: adding a "with-global" word to replace "global [ ] bind". 2011-10-13 17:21:59 -07:00
Doug Coleman 3934e71444 Fix using list for http.server tests 2011-10-12 23:19:11 -07:00
John Benediktsson c29edee68e http.server: ignore preceding whitespace before request lines. Fixes #252. 2011-10-12 20:21:16 -07:00
John Benediktsson 9442cb12ea http: change client/server to support LF and CRLF delimited headers. 2011-10-12 12:51:49 -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 60a58408b4 http.server.static: look for index.fhtml when fhtml is enabled 2010-09-28 21:34:15 -07:00
Doug Coleman 27f9f3a8f3 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 c01ef3dd18 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 0ac5146fcc 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 858930c1f4 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 e10d14ed12 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 dd6e037b9e http.server: revert d00ea changes so that server works again 2010-07-09 14:47:34 -07:00
Joe Groff 47a47f8e76 io.streams.limited: remove unlimit* 2010-07-09 13:52:15 -07:00
Doug Coleman d00ea1892a 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 c564506d4a http: host header should not include the port number 2010-07-05 22:55:20 -04:00
Slava Pestov d190eeb3f8 http.server: more doc fixes 2010-06-28 17:42:48 -04:00
Slava Pestov b988253396 http.server: tweak docs 2010-06-28 17:31:45 -04:00
Slava Pestov 02ac61c2c4 http: clean up and fix some content encoding logic 2010-03-13 22:10:36 +13:00
Slava Pestov 0157eb15bf 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 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman 47fab85a00 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Doug Coleman d1ce837569 Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov d72407f3c3 http.server.rewrite: fix typo in docs 2009-08-05 03:35:31 -05:00
Doug Coleman a370d7f199 fix using list 2009-08-03 17:32:56 -05:00
Slava Pestov 4a83d71509 http.server.rewrite: facility for making URLs prettier, and dynamic dispatching on the first part of a host name. Doug go nuts 2009-08-03 14:58:56 -05:00
Slava Pestov fa4a10b328 Move furnace.actions:{param,params} and furnace.utilities:request-params to http.server 2009-08-03 14:58:18 -05:00
Doug Coleman 8b2e7b72db change threaded-server and managed-server to take an encoding 2009-05-30 19:15:53 -05:00
Slava Pestov daec154817 Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov a776dffeb6 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov 2c1f7b9293 Static responder now works when the root is a file rather than a directory 2009-04-07 03:37:29 -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 be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Slava Pestov 0d38d2f7e8 Fix more stack effects 2009-03-15 18:28:46 -05:00
Slava Pestov 8e55533bfa Tweak some furnace code to infer and load with almost no warnings 2009-03-15 18:19:29 -05:00
Slava Pestov 6330272760 Fix CGI 2009-03-07 22:09:57 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Daniel Ehrenberg 1682a5512a Minor docs fix and cleanup in http.server.static 2009-02-12 22:26:44 -06:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -06:00
Daniel Ehrenberg 86c3481f12 Moving XML vocabularies around 2009-02-05 21:17:03 -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