path: tests/fixtures/llhttp/request/ice-protocol-but-not-really.yml
name: ICE Protocol, But Not Really
checked: true
source:
  path: test/request/invalid.md
  line: 25
meta:
  type: request
input:
- GET /music/sweet/music IHTTP/1.0
- 'Host: example.com'
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=3 span[method]="GET"
- off=3 method complete
- off=4 len=18 span[url]="/music/sweet/music"
- off=23 url complete
- off=23 len=1 span[protocol]="I"
- off=24 error code=8 reason="Expected HTTP/, RTSP/ or ICE/"
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: error
  payload:
    code: UNEXPECTED_CHARACTER
    description: Invalid protocol name
