You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/08/17 18:52:20 UTC
[jira] [Updated] (TS-4412) Event overwrited by SSL_READ_READY /
COMPLETE in ssl_read_from_net
[ https://issues.apache.org/jira/browse/TS-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Call updated TS-4412:
---------------------------
Summary: Event overwrited by SSL_READ_READY / COMPLETE in ssl_read_from_net (was: event overwrited by SSL_READ_READY / COMPLETE in ssl_read_from_net)
> Event overwrited by SSL_READ_READY / COMPLETE in ssl_read_from_net
> ------------------------------------------------------------------
>
> Key: TS-4412
> URL: https://issues.apache.org/jira/browse/TS-4412
> Project: Traffic Server
> Issue Type: Bug
> Components: SSL
> Reporter: Oknet Xu
> Assignee: Susan Hinrichs
> Fix For: 7.0.0
>
>
> the {{ssl_read_from_net}} read data from socket and saved into MIOBuffer.
> It was designed to fill the MIOBuffer as much as possible, even execeed the VIO {{nbytes}} setting.
> It will try to call {{SSLReadBuffer}} again and again until the MIOBuffer is full or an error returned from {{SSLReadBuffer}}. The {{event}} will be set to a error status if an error returned from {{SSLReadBuffer}}.
> But at the end of {{ssl_read_from_net}}, the {{event}} will be overwrited to SSL_READ_READY or SSL_READ_COMPLETE depend on {{vio.ntodo()}} if this is one success at least in {{SSLReadBuffer}} before an error.
> For example:
> The {{SSLNetVConnection::net_read_io}} could not get SSL_READ_EOS from {{ssl_read_from_net}} and can not close the SSLNetVConnection immediately. Because The {{event}} SSL_READ_EOS is overwrited.
> The SSLNetVConnection will be closed by timeout.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)