Conan Wang created TS-1525:
------------------------------
Summary: SPDY plugin will hang after several requests
Key: TS-1525
URL: https://issues.apache.org/jira/browse/TS-1525
Project: Traffic Server
Issue Type: Bug
Components: Plugins
Reporter: Conan Wang
In a spdy session, plugin will hang if reload the page several times in browser.
Debug log:
{code}
(spdy.plugin) spdy_vconn_io:297 received 738 bytes
(spdy.plugin) spdy_vconn_io:297 received 754 bytes
(spdy.plugin) spdy_vconn_io:297 received 1442 bytes
(spdy.plugin) spdy_vconn_io:297 received 1458 bytes
....repeat on each reload request....
{code}
Some debug info, FYI:
When hanging, at spdy.cc:204 consume_spdy_frame(), nbytes from
TSIOBufferBlockReadStart will not grow. So (header.datalen <= (nbytes -
spdy::message_header::size) can not pass test.
nbytes from TSIOBufferBlockReadStart is the available bytes of current block,
which I think should get from TSIOBufferReaderAvail(io->input.reader). However,
after replacing with TSIOBufferReaderAvail, other issues will raise: parsing
request header will fail or crash when decompressing header.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira