Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shrapnel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
shrapnel
Commits
028f3312
Commit
028f3312
authored
Aug 11, 2012
by
Sam Rushing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update coro/http/demo/grid.py
backdoor -> coro.backdoor
parent
61c06e7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
coro/http/demo/grid.py
coro/http/demo/grid.py
+2
-2
No files found.
coro/http/demo/grid.py
View file @
028f3312
...
...
@@ -2,7 +2,7 @@
import
coro
import
coro.http
import
backdoor
import
coro.
backdoor
# toy: move an X through a grid.
# tests: POST data, compression, persistent connections, shared state
...
...
@@ -75,5 +75,5 @@ server.push_handler (grid_handler (50, 30))
server
.
push_handler
(
coro
.
http
.
handlers
.
coro_status_handler
())
server
.
push_handler
(
coro
.
http
.
handlers
.
favicon_handler
())
coro
.
spawn
(
server
.
start
,
(
'0.0.0.0'
,
9001
))
coro
.
spawn
(
backdoor
.
serve
,
unix_path
=
'/tmp/httpd.bd'
)
coro
.
spawn
(
coro
.
backdoor
.
serve
,
unix_path
=
'/tmp/httpd.bd'
)
coro
.
event_loop
(
30.0
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment