Incorporated Holger's fix for Chrome 5
This commit is contained in:
parent
6dd2bcf011
commit
27ff9d1bba
3
AUTHORS
3
AUTHORS
|
@ -60,4 +60,5 @@ Thanks To
|
|||
* David Ziegler, reporting issue #53
|
||||
* Favo Yang, twisted hub patch
|
||||
* Schmir, patch that fixes readline method with chunked encoding in wsgi.py
|
||||
* Slide, for open-sourcing gogreen
|
||||
* Slide, for open-sourcing gogreen
|
||||
* Holger Krekel, websocket example small fix
|
|
@ -8,7 +8,7 @@ http://assorted.svn.sourceforge.net/viewvc/assorted/real-time-plotter/trunk/src/
|
|||
<script>
|
||||
window.onload = function() {
|
||||
var data = {};
|
||||
var s = new WebSocket("ws://localhost:7000/data");
|
||||
var s = new WebSocket("ws://127.0.0.1:7000/data");
|
||||
s.onopen = function() {
|
||||
//alert('open');
|
||||
s.send('hi');
|
||||
|
|
|
@ -35,6 +35,6 @@ def dispatch(environ, start_response):
|
|||
|
||||
if __name__ == "__main__":
|
||||
# run an example app from the command line
|
||||
listener = eventlet.listen(('localhost', 7000))
|
||||
listener = eventlet.listen(('127.0.0.1', 7000))
|
||||
print "\nVisit http://localhost:7000/ in your websocket-capable browser.\n"
|
||||
wsgi.server(listener, dispatch)
|
||||
|
|
Loading…
Reference in New Issue