Skip to content

Instantly share code, notes, and snippets.

@Hexa
Created August 6, 2015 14:20
Show Gist options
  • Select an option

  • Save Hexa/72197229c5e41c575c4e to your computer and use it in GitHub Desktop.

Select an option

Save Hexa/72197229c5e41c575c4e to your computer and use it in GitHub Desktop.
$ nghttp -v https://localhost:443/
[ 0.001] Connected
The negotiated protocol: h2
[ 0.003] recv SETTINGS frame <length=18, flags=0x00, stream_id=0>
(niv=3)
[SETTINGS_MAX_CONCURRENT_STREAMS(0x03):128]
[SETTINGS_INITIAL_WINDOW_SIZE(0x04):2147483647]
[SETTINGS_MAX_FRAME_SIZE(0x05):16777215]
[ 0.003] recv WINDOW_UPDATE frame <length=4, flags=0x00, stream_id=0>
(window_size_increment=2147418112)
[ 0.003] send SETTINGS frame <length=12, flags=0x00, stream_id=0>
(niv=2)
[SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100]
[SETTINGS_INITIAL_WINDOW_SIZE(0x04):65535]
[ 0.003] send SETTINGS frame <length=0, flags=0x01, stream_id=0>
; ACK
(niv=0)
[ 0.003] send PRIORITY frame <length=5, flags=0x00, stream_id=3>
(dep_stream_id=0, weight=201, exclusive=0)
[ 0.003] send PRIORITY frame <length=5, flags=0x00, stream_id=5>
(dep_stream_id=0, weight=101, exclusive=0)
[ 0.003] send PRIORITY frame <length=5, flags=0x00, stream_id=7>
(dep_stream_id=0, weight=1, exclusive=0)
[ 0.003] send PRIORITY frame <length=5, flags=0x00, stream_id=9>
(dep_stream_id=7, weight=1, exclusive=0)
[ 0.003] send PRIORITY frame <length=5, flags=0x00, stream_id=11>
(dep_stream_id=3, weight=1, exclusive=0)
[ 0.003] send HEADERS frame <length=34, flags=0x25, stream_id=13>
; END_STREAM | END_HEADERS | PRIORITY
(padlen=0, dep_stream_id=11, weight=16, exclusive=0)
; Open new stream
:method: GET
:path: /
:scheme: https
:authority: localhost
accept: */*
accept-encoding: gzip, deflate
user-agent: nghttp2/1.0.5
[ 0.004] recv SETTINGS frame <length=0, flags=0x01, stream_id=0>
; ACK
(niv=0)
[ 0.005] recv (stream_id=13) :status: 200
[ 0.005] recv (stream_id=13) server: nginx/1.9.3
[ 0.005] recv (stream_id=13) date: Thu, 06 Aug 2015 12:21:31 GMT
[ 0.005] recv (stream_id=13) content-type: text/html
[ 0.005] recv (stream_id=13) content-length: 612
[ 0.005] recv (stream_id=13) last-modified: Thu, 06 Aug 2015 12:04:37 GMT
[ 0.005] recv (stream_id=13) etag: "55c34d55-264"
[ 0.005] recv (stream_id=13) accept-ranges: bytes
[ 0.005] recv HEADERS frame <length=148, flags=0x04, stream_id=13>
; END_HEADERS
(padlen=0)
; First response header
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>
<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>
<p><em>Thank you for using nginx.</em></p>
</body>
</html>
[ 0.005] recv DATA frame <length=612, flags=0x01, stream_id=13>
; END_STREAM
[ 0.005] send GOAWAY frame <length=8, flags=0x00, stream_id=0>
(last_stream_id=0, error_code=NO_ERROR(0x00), opaque_data(0)=[])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment