16.03.2017 Views

Learning HTTP/2

akamai-learning-http2-preview-edition

akamai-learning-http2-preview-edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

[ 0.346] recv DATA frame <br />

[ 0.346] recv DATA frame <br />

[ 0.346] recv DATA frame <br />

[ 0.348] recv DATA frame <br />

[ 0.348] recv DATA frame <br />

[ 0.348] send WINDOW_UPDATE frame <br />

Here we get the data for the stream. You see five DATA frame come down followed by<br />

a WINDOW_UPDATE frame. The client is indicating to the server that it has consumed<br />

10915 bytes of the data frames and is ready for more data. Note that this<br />

stream is not done yet. But the client has work to do and thanks to multiplexing it can<br />

get to it.<br />

[ 0.348] send HEADERS frame <br />

:path: /styles/screen.1462424759000.css<br />

[ 0.348] send HEADERS frame <br />

:path: /styles/fonts--full.css<br />

[ 0.348] send HEADERS frame <br />

:path: /images/favicons/favicon.ico?v=XBBK2PxW74<br />

Now that the client has some of the base HTML, is can start asking for objects on the<br />

page. Here you see three new streams created, ids 15, 17, and 19 for stylesheet files<br />

and a favicon. (Frames were skipped and abbreviated for clarity).<br />

[ 0.378] recv DATA frame <br />

[ 0.378] recv DATA frame <br />

[ 0.378] recv DATA frame <br />

[ 0.378] send WINDOW_UPDATE frame <br />

(window_size_increment=12216)<br />

[ 0.379] recv HEADERS frame <br />

[ 0.379] recv DATA frame <br />

[ 0.379] recv DATA frame <br />

; END_STREAM<br />

[ 0.380] recv DATA frame <br />

[ 0.380] recv DATA frame <br />

[ 0.385] recv HEADERS frame <br />

[ 0.387] recv DATA frame <br />

[ 0.387] recv DATA frame <br />

; END_STREAM<br />

[ 0.389] recv HEADERS frame <br />

[ 0.390] recv DATA frame <br />

[ 0.390] recv DATA frame <br />

[ 0.390] send WINDOW_UPDATE frame <br />

(window_size_increment=36114)<br />

[ 0.390] send WINDOW_UPDATE frame <br />

(window_size_increment=11098)<br />

[ 0.410] recv DATA frame <br />

[ 0.410] recv DATA frame <br />

[ 0.410] recv DATA frame <br />

[ 0.410] recv DATA frame <br />

[ 0.410] recv DATA frame <br />

44 | Chapter 3: The Protocol

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!