Skip to content

Instantly share code, notes, and snippets.

@mmalecki
Created September 29, 2011 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmalecki/44c77df7f64cda18e664 to your computer and use it in GitHub Desktop.
Save mmalecki/44c77df7f64cda18e664 to your computer and use it in GitHub Desktop.
info - socket.io started
Connect to: http://localhost:8080
---BEGIN DATA---
GET /socket.io/socket.io.js HTTP/1.1
host: localhost:9000
connection: keep-alive
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2
accept: */*
referer: http://localhost:9000/
accept-encoding: gzip,deflate,sdch
accept-language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
accept-charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
cookie: session_id="MDUwM2VhYmM2MThkMDcxNTg2MTY0MGE4YmRkZDZjZTg1MmQxOWVhMmYwZDIxODlmYmMwYWIwNWUwZjUxMjQwMQ==|1316371730|1ffe9fb299cdc91e6dece042d5872e3cd56894df"
x-forwarded-for: 127.0.0.1
x-forwarded-port: 35353
x-forwarded-proto: http
---END DATA---
header_state = h_matching_upgrade
h_matching_upgrade
setting to h_general
debug - served static /socket.io.js
---BEGIN DATA---
GET /socket.io/1/?t=1317257007818 HTTP/1.1
host: localhost:9000
connection: keep-alive
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2
accept: */*
referer: http://localhost:9000/
accept-encoding: gzip,deflate,sdch
accept-language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
accept-charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
cookie: session_id="MDUwM2VhYmM2MThkMDcxNTg2MTY0MGE4YmRkZDZjZTg1MmQxOWVhMmYwZDIxODlmYmMwYWIwNWUwZjUxMjQwMQ==|1316371730|1ffe9fb299cdc91e6dece042d5872e3cd56894df"
x-forwarded-for: 127.0.0.1
x-forwarded-port: 35353
x-forwarded-proto: http
---END DATA---
header_state = h_matching_upgrade
h_matching_upgrade
setting to h_general
debug - client authorized
info - handshake authorized 14690151931109020269
---BEGIN DATA---
GET /favicon.ico HTTP/1.1
host: localhost:9000
connection: keep-alive
accept: */*
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2
accept-encoding: gzip,deflate,sdch
accept-language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
accept-charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
cookie: session_id="MDUwM2VhYmM2MThkMDcxNTg2MTY0MGE4YmRkZDZjZTg1MmQxOWVhMmYwZDIxODlmYmMwYWIwNWUwZjUxMjQwMQ==|1316371730|1ffe9fb299cdc91e6dece042d5872e3cd56894df"
x-forwarded-for: 127.0.0.1
x-forwarded-port: 35353
x-forwarded-proto: http
---END DATA---
header_state = h_matching_upgrade
h_matching_upgrade
setting to h_general
url: /favicon.ico
---BEGIN DATA---
GET /socket.io/1/?t=1317257007818 HTTP/1.1
host: localhost:9000
p-alive
Transfer-Encoding: chunked
0
---END DATA---
---BEGIN DATA---
connection: keep-alive
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2
accept: */*
referer: http://localhost:9000/
accept-encoding: gzip,deflate,sdch
accept-language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
accept-charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
---END DATA---
header_state = h_matching_upgrade
h_matching_upgrade
setting to h_general
---BEGIN DATA---
cookie: session_id="MDUwM2VhYmM2MThkMDcxNTg2MTY0MGE4YmRkZDZjZTg1MmQxOWVhMmYwZDIxODlmYmMwYWIwNWUwZjUxMjQwMQ==|1316371730|1ffe9fb299cdc91e6dece042d5872e3cd56894df"
x-forwarded-for: 127.0.0.1
x-forwarded-port: 35353
x-forwarded-proto: http
---END DATA---
---BEGIN DATA---

---END DATA---
debug - client authorized
info - handshake authorized 544669789908457336
---BEGIN DATA---
����36minfo - handshake authorized 544669789908457336
---END DATA---
---BEGIN DATA---
GET /socket.io/socket.io.js HTTP/1.1
Host: localhost:8080
Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2
Accept: */*
Referer: http://localhost:8080/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: session_id="MDUwM2VhYmM2MThkMDcxNTg2MTY0MGE4YmRkZDZjZTg1MmQxOWVhMmYwZDIxODlmYmMwYWIwNWUwZjUxMjQwMQ==|1316371730|1ffe9fb299cdc91e6dece042d5872e3cd56894df"
---END DATA---
header_state = h_matching_upgrade
h_matching_upgrade
setting to h_general
debug - served static /socket.io.js
---BEGIN DATA---
GET /socket.io/1/?t=1317257241684 HTTP/1.1
Host: localhost:8080
Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2
Accept: */*
Referer: http://localhost:8080/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: session_id="MDUwM2VhYmM2MThkMDcxNTg2MTY0MGE4YmRkZDZjZTg1MmQxOWVhMmYwZDIxODlmYmMwYWIwNWUwZjUxMjQwMQ==|1316371730|1ffe9fb299cdc91e6dece042d5872e3cd56894df"

---END DATA---
header_state = h_matching_upgrade
h_matching_upgrade
setting to h_general
debug - client authorized
info - handshake authorized 64070298361687279
---BEGIN DATA---
GET /favicon.ico HTTP/1.1
Host: localhost:8080
Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: session_id="MDUwM2VhYmM2MThkMDcxNTg2MTY0MGE4YmRkZDZjZTg1MmQxOWVhMmYwZDIxODlmYmMwYWIwNWUwZjUxMjQwMQ==|1316371730|1ffe9fb299cdc91e6dece042d5872e3cd56894df"

---END DATA---
header_state = h_matching_upgrade
h_matching_upgrade
setting to h_general
url: /favicon.ico
---BEGIN DATA---
GET /socket.io/1/websocket/64070298361687279 HTTP/1.1
Upgrade: websocket
Connection: Upgrade
Host: localhost:8080
Sec-WebSocket-Origin: http://localhost:8080
Sec-WebSocket-Key: Cpjgf4PNUHeMoBnVNAyegQ==
Sec-WebSocket-Version: 8
Cookie: session_id="MDUwM2VhYmM2MThkMDcxNTg2MTY0MGE4YmRkZDZjZTg1MmQxOWVhMmYwZDIxODlmYmMwYWIwNWUwZjUxMjQwMQ==|1316371730|1ffe9fb299cdc91e6dece042d5872e3cd56894df"
YGH�
---END DATA---
header_state = h_matching_upgrade
h_matching_upgrade
h_matching_upgrade
h_matching_upgrade
h_matching_upgrade
h_matching_upgrade
h_matching_upgrade
setting to h_upgrade
header_state == h_upgrade
parser->upgrade = 1
CALLBACK2
debug - setting request GET /socket.io/1/websocket/64070298361687279
debug - set heartbeat interval for client 64070298361687279
debug - client authorized for
debug - websocket writing 1::
connected
debug - websocket writing 5:::{"name":"pong","args":[{}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment