[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 71/119: updating notes and README text
From: |
Eric Schulte |
Subject: |
[elpa] 71/119: updating notes and README text |
Date: |
Mon, 10 Mar 2014 16:57:40 +0000 |
eschulte pushed a commit to branch master
in repository elpa.
commit 41bd572baeafc6c4206491894277c3d18c4982b4
Author: Eric Schulte <address@hidden>
Date: Sun Jan 5 23:44:25 2014 -0700
updating notes and README text
---
NOTES | 8 ++++++--
README | 11 ++++++-----
web-server.el | 2 +-
3 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/NOTES b/NOTES
index 49cf0b5..239ac2a 100644
--- a/NOTES
+++ b/NOTES
@@ -1,8 +1,8 @@
-*- org -*-
* Notes
-* Tasks [9/20]
-** TODO handle large files
+* Tasks [10/20]
+** DONE handle large files
When large files arrive quickly, the filter functions are called while
they are still running on the previous chunk, this leads to nasty race
conditions for the state of the request object.
@@ -11,6 +11,10 @@ Either introduce some check to wait on new input if input is
currently
being parsed, or wait until all input has arrived before doing any
parsing.
+Now using an =active= field on request objects to avoid race
+conditions when new header text is received while the parsing function
+is still active.
+
** TODO robustness to bad requests [0/2]
Low priority, just [[*running%20behind%20a%20proxy][run behind a proxy]].
diff --git a/README b/README
index c5d2bb9..0e6cdca 100644
--- a/README
+++ b/README
@@ -7,11 +7,12 @@ REQUIREMENTS
Emacs 24.3 or later.
STATUS
- This is a new project without much extended use so there are
- likely bugs and potentially security issues. That said it
- consists of little more than HTTP header parsing logic perched
- atop Emacs' existing network process primitives, so it should be
- fairly robust.
+ Full support for HTTP GET and POST requests including URL-encoded
+ parameters, multipart/form data and file uploads. This is a new
+ project without much extended use so there are likely bugs and
+ potentially security issues. That said it consists of little more
+ than HTTP header parsing logic perched atop Emacs' existing
+ network process primitives, so it should be fairly robust.
EXAMPLES
See the examples/ directory in this repository. The Emacs Web
diff --git a/web-server.el b/web-server.el
index 48f788e..5d01501 100644
--- a/web-server.el
+++ b/web-server.el
@@ -11,7 +11,7 @@
;; A web server in Emacs running handlers written in Emacs Lisp.
;;
;; Full support for GET and POST requests including URL-encoded
-;; parameters and multi-part/form data.
+;; parameters and multipart/form data.
;;
;; See the examples/ directory for examples demonstrating the usage of
;; the Emacs Web Server. The following launches a simple "hello
- [elpa] 60/119: quick benchmarking, (continued)
- [elpa] 60/119: quick benchmarking, Eric Schulte, 2014/03/10
- [elpa] 52/119: changed prefix: ews -> ws, Eric Schulte, 2014/03/10
- [elpa] 63/119: autoload ws-start, Eric Schulte, 2014/03/10
- [elpa] 62/119: example serving Org-mode files exported on demand, Eric Schulte, 2014/03/10
- [elpa] 64/119: fix file header, Eric Schulte, 2014/03/10
- [elpa] 65/119: handle POST file uploads w/example, Eric Schulte, 2014/03/10
- [elpa] 66/119: notes, Eric Schulte, 2014/03/10
- [elpa] 70/119: run all tests with "make check", Eric Schulte, 2014/03/10
- [elpa] 67/119: test large file upload (w/o network chunking), Eric Schulte, 2014/03/10
- [elpa] 69/119: refactoring no multiple concurrent header parsing, Eric Schulte, 2014/03/10
- [elpa] 71/119: updating notes and README text,
Eric Schulte <=
- [elpa] 72/119: notes for running behind an Apache HTTPS proxy, Eric Schulte, 2014/03/10
- [elpa] 73/119: some more examples to implement, Eric Schulte, 2014/03/10
- [elpa] 68/119: no multiple concurrent entry of ws-parse-request, Eric Schulte, 2014/03/10
- [elpa] 76/119: and more web-socket progress, Eric Schulte, 2014/03/10
- [elpa] 74/119: beginning to implement web-socket support, Eric Schulte, 2014/03/10
- [elpa] 77/119: handle chunked receipt of web-socket messages, Eric Schulte, 2014/03/10
- [elpa] 78/119: hold, Eric Schulte, 2014/03/10
- [elpa] 79/119: beginning to add convenience macro for web sockets, Eric Schulte, 2014/03/10
- [elpa] 81/119: implemented ws-web-socket-frame to send replies, Eric Schulte, 2014/03/10
- [elpa] 80/119: helpers for handling web socket connections, Eric Schulte, 2014/03/10