[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 87/119: update server stopping w/requests process field
From: |
Eric Schulte |
Subject: |
[elpa] 87/119: update server stopping w/requests process field |
Date: |
Mon, 10 Mar 2014 16:57:47 +0000 |
eschulte pushed a commit to branch master
in repository elpa.
commit 6b958435095049ba2755e4d5d8a93cd45f9b8621
Author: Eric Schulte <address@hidden>
Date: Thu Jan 9 22:16:12 2014 -0700
update server stopping w/requests process field
ws-stop-server was still assuming the old list representation
---
NOTES | 8 ++++----
web-server.el | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/NOTES b/NOTES
index be84aaf..a81e92c 100644
--- a/NOTES
+++ b/NOTES
@@ -1,7 +1,7 @@
-*- org -*-
* Notes
-* Tasks [15/25]
+* Tasks [15/24]
** DONE web sockets
- http://en.wikipedia.org/wiki/WebSocket
- http://tools.ietf.org/html/rfc6455
@@ -161,13 +161,13 @@ provide a light-weight mechanism for a function to wait
for incoming
process text without something gross like the =(sit-for 0.1)= used in
the test suite.
-** TODO use gnutls for https
+** use gnutls for https
low priority -- just [[*running%20behind%20an%20https%20proxy][run behind an
https proxy]].
This will be a pain, and will require expanding [[info:emacs-gnutls]] to
add support for starting server processes, currently only client
processes are supported.
-* Bugs [0/1]
-** TODO Sometimes servers don't stop cleanly
+* Bugs [1/1]
+** DONE Sometimes servers don't stop cleanly
- specifically servers with active client process
- maybe also implement a =ws-stop-all= function
diff --git a/web-server.el b/web-server.el
index dfa924e..1072371 100644
--- a/web-server.el
+++ b/web-server.el
@@ -126,7 +126,7 @@ function.
(defun ws-stop (server)
"Stop SERVER."
(setq ws-servers (remove server ws-servers))
- (mapc #'delete-process (append (mapcar #'car (requests server))
+ (mapc #'delete-process (append (mapcar #'process (requests server))
(list (process server)))))
(defvar ws-http-common-methods '(GET HEAD POST PUT DELETE TRACE)
- [elpa] 74/119: beginning to implement web-socket support, (continued)
- [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
- [elpa] 82/119: web-sockets are working, Eric Schulte, 2014/03/10
- [elpa] 84/119: more examples, Eric Schulte, 2014/03/10
- [elpa] 85/119: renaming example files, Eric Schulte, 2014/03/10
- [elpa] 86/119: another example idea -- org export service, Eric Schulte, 2014/03/10
- [elpa] 87/119: update server stopping w/requests process field,
Eric Schulte <=
- [elpa] 83/119: supports web sockets, Eric Schulte, 2014/03/10
- [elpa] 75/119: more web-socket implementation, Eric Schulte, 2014/03/10
- [elpa] 91/119: more tutorial, Eric Schulte, 2014/03/10
- [elpa] 94/119: example serving Org-mode files as JSON, Eric Schulte, 2014/03/10
- [elpa] 93/119: helper function to serve directory listings, Eric Schulte, 2014/03/10
- [elpa] 90/119: tutorials, Eric Schulte, 2014/03/10
- [elpa] 88/119: accept single-function handlers, Eric Schulte, 2014/03/10
- [elpa] 96/119: expand this example w/smart dir listings, Eric Schulte, 2014/03/10
- [elpa] 98/119: TODO chunked encoding, Eric Schulte, 2014/03/10
- [elpa] 99/119: serve files with htmlize Emacs fontification, Eric Schulte, 2014/03/10