| 1 |
Pipelining |
| 2 |
========== |
| 3 |
|
| 4 |
## Should parse multiple events |
| 5 |
|
| 6 |
<!-- meta={"type": "request"} --> |
| 7 |
```http |
| 8 |
POST /aaa HTTP/1.1 |
| 9 |
Content-Length: 3 |
| 10 |
|
| 11 |
AAA |
| 12 |
PUT /bbb HTTP/1.1 |
| 13 |
Content-Length: 4 |
| 14 |
|
| 15 |
BBBB |
| 16 |
PATCH /ccc HTTP/1.1 |
| 17 |
Content-Length: 5 |
| 18 |
|
| 19 |
CCCC |
| 20 |
``` |
| 21 |
|
| 22 |
```log |
| 23 |
off=0 message begin |
| 24 |
off=0 len=4 span[method]="POST" |
| 25 |
off=4 method complete |
| 26 |
off=5 len=4 span[url]="/aaa" |
| 27 |
off=10 url complete |
| 28 |
off=15 len=3 span[version]="1.1" |
| 29 |
off=18 version complete |
| 30 |
off=20 len=14 span[header_field]="Content-Length" |
| 31 |
off=35 header_field complete |
| 32 |
off=36 len=1 span[header_value]="3" |
| 33 |
off=39 header_value complete |
| 34 |
off=41 headers complete method=3 v=1/1 flags=20 content_length=3 |
| 35 |
off=41 len=3 span[body]="AAA" |
| 36 |
off=44 message complete |
| 37 |
off=46 reset |
| 38 |
off=46 message begin |
| 39 |
off=46 len=3 span[method]="PUT" |
| 40 |
off=49 method complete |
| 41 |
off=50 len=4 span[url]="/bbb" |
| 42 |
off=55 url complete |
| 43 |
off=60 len=3 span[version]="1.1" |
| 44 |
off=63 version complete |
| 45 |
off=65 len=14 span[header_field]="Content-Length" |
| 46 |
off=80 header_field complete |
| 47 |
off=81 len=1 span[header_value]="4" |
| 48 |
off=84 header_value complete |
| 49 |
off=86 headers complete method=4 v=1/1 flags=20 content_length=4 |
| 50 |
off=86 len=4 span[body]="BBBB" |
| 51 |
off=90 message complete |
| 52 |
off=92 reset |
| 53 |
off=92 message begin |
| 54 |
off=92 len=5 span[method]="PATCH" |
| 55 |
off=97 method complete |
| 56 |
off=98 len=4 span[url]="/ccc" |
| 57 |
off=103 url complete |
| 58 |
off=108 len=3 span[version]="1.1" |
| 59 |
off=111 version complete |
| 60 |
off=113 len=14 span[header_field]="Content-Length" |
| 61 |
off=128 header_field complete |
| 62 |
off=129 len=1 span[header_value]="5" |
| 63 |
off=132 header_value complete |
| 64 |
off=134 headers complete method=28 v=1/1 flags=20 content_length=5 |
| 65 |
off=134 len=4 span[body]="CCCC" |
| 66 |
``` |