blob: 2938b83bed666fe857570dc3bb21d7609da14f90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Finish
======
Those tests check the return codes and the behavior of `llhttp_finish()` C API.
## It should be safe to finish with cb after empty response
<!-- meta={"type": "response-finish"} -->
```http
HTTP/1.1 200 OK
```
```log
off=0 message begin
off=5 len=3 span[version]="1.1"
off=8 version complete
off=13 len=2 span[status]="OK"
off=17 status complete
off=19 headers complete status=200 v=1/1 flags=0 content_length=0
off=NULL finish=1
```
|