PiBa-NL
2018-11-19 00:07:44 UTC
Hi List,
I'm trying (and failing?) to write a H2>HTX>H1(keepalive) test.
Using haproxy 1.9-dev6-05b9b64.
Test vtc attached, i added the 'option http-use-htx' to the fe4
frontend/backend.
Is there anything else that should be changed?
Or is my way of making the H2 request incorrect? Though the 3 tests
before it 'seem' to work alright.
Below the output i get, with a unexpected '500' status, and with a IC--
on the logline... It also seems it never contacted the s4 server.
Without the htx option it does make 1 request to the s4, and the second
expected request tries to make a second connection. (the 'old' way..)
Thanks in advance.
Regards
PiBa-NL (Pieter)
**Â Â c4Â Â Â 0.2 === txreq -req GET -url /3
***Â c4Â Â Â 0.2 tx: stream: 1, type: HEADERS (1), flags: 0x05, size: 37
**Â Â c4Â Â Â 0.2 === rxresp
***Â h1Â Â Â 0.2 debug|00000007:fe4.accept(000e)=0011 from [::1:25432]
ALPN=<none>
***Â h1Â Â Â 0.2 debug|00000007:fe4.clireq[0011:ffffffff]: GET /3 HTTP/1.1
***Â h1Â Â Â 0.2 debug|00000007:b4.clicls[0011:adfd]
***Â h1Â Â Â 0.2 debug|00000007:b4.closed[0011:adfd]
***Â h1Â Â Â 0.2 debug|::1:25432 [19/Nov/2018:01:03:11.550] fe4 b4/srv4
0/0/-1/-1/0 500 203 - - IC-- 2/1/0/0/0 0/0 "GET /3 HTTP/1.1"
***Â c4Â Â Â 0.2 rx: stream: 1, type: HEADERS (1), flags: 0x04, size: 26
***Â c4Â Â Â 0.2 flag: END_TYPE_HEADERS
**** c4Â Â Â 0.2 header[ 0]: :status : 500
**** c4Â Â Â 0.2 header[ 1]: cache-control : no-cache
**** c4Â Â Â 0.2 header[ 2]: content-type : text/html
***Â c4Â Â Â 0.2 rx: stream: 1, type: DATA (0), flags: 0x00, size: 96
***Â c4Â Â Â 0.2 rx: stream: 1, type: DATA (0), flags: 0x01, size: 0
***Â c4Â Â Â 0.2 flag: END_STREAM
**** c4Â Â Â 0.2 s1 - no data
**Â Â c4Â Â Â 0.2 === expect resp.status == 200
---- c4Â Â Â 0.2 EXPECT resp.status (500) == "200" failed
I'm trying (and failing?) to write a H2>HTX>H1(keepalive) test.
Using haproxy 1.9-dev6-05b9b64.
Test vtc attached, i added the 'option http-use-htx' to the fe4
frontend/backend.
Is there anything else that should be changed?
Or is my way of making the H2 request incorrect? Though the 3 tests
before it 'seem' to work alright.
Below the output i get, with a unexpected '500' status, and with a IC--
on the logline... It also seems it never contacted the s4 server.
Without the htx option it does make 1 request to the s4, and the second
expected request tries to make a second connection. (the 'old' way..)
Thanks in advance.
Regards
PiBa-NL (Pieter)
**Â Â c4Â Â Â 0.2 === txreq -req GET -url /3
***Â c4Â Â Â 0.2 tx: stream: 1, type: HEADERS (1), flags: 0x05, size: 37
**Â Â c4Â Â Â 0.2 === rxresp
***Â h1Â Â Â 0.2 debug|00000007:fe4.accept(000e)=0011 from [::1:25432]
ALPN=<none>
***Â h1Â Â Â 0.2 debug|00000007:fe4.clireq[0011:ffffffff]: GET /3 HTTP/1.1
***Â h1Â Â Â 0.2 debug|00000007:b4.clicls[0011:adfd]
***Â h1Â Â Â 0.2 debug|00000007:b4.closed[0011:adfd]
***Â h1Â Â Â 0.2 debug|::1:25432 [19/Nov/2018:01:03:11.550] fe4 b4/srv4
0/0/-1/-1/0 500 203 - - IC-- 2/1/0/0/0 0/0 "GET /3 HTTP/1.1"
***Â c4Â Â Â 0.2 rx: stream: 1, type: HEADERS (1), flags: 0x04, size: 26
***Â c4Â Â Â 0.2 flag: END_TYPE_HEADERS
**** c4Â Â Â 0.2 header[ 0]: :status : 500
**** c4Â Â Â 0.2 header[ 1]: cache-control : no-cache
**** c4Â Â Â 0.2 header[ 2]: content-type : text/html
***Â c4Â Â Â 0.2 rx: stream: 1, type: DATA (0), flags: 0x00, size: 96
***Â c4Â Â Â 0.2 rx: stream: 1, type: DATA (0), flags: 0x01, size: 0
***Â c4Â Â Â 0.2 flag: END_STREAM
**** c4Â Â Â 0.2 s1 - no data
**Â Â c4Â Â Â 0.2 === expect resp.status == 200
---- c4Â Â Â 0.2 EXPECT resp.status (500) == "200" failed