[
https://issues.apache.org/jira/browse/TS-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305195#comment-15305195
]
Oknet Xu commented on TS-4483:
------------------------------
This optimize also fix a bug in SSLNetAccept::init_accept_per_thread(bool
isTransparent)
{code}
PollDescriptor *pd = get_PollDescriptor(t);
if (ep.start(pd, this, EVENTIO_READ) < 0) // ======> should be
a->ep.start(pd, a, EVENTIO_READ)
Debug("iocore_net", "error starting EventIO");
a->mutex = get_NetHandler(t)->mutex;
t->schedule_every(a, period, etype);
{code}
> NetAccept & SSLNetAccept Optimize
> ---------------------------------
>
> Key: TS-4483
> URL: https://issues.apache.org/jira/browse/TS-4483
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core
> Reporter: Oknet Xu
> Assignee: Oknet Xu
> Fix For: 7.0.0
>
>
> replace getEtype() with member etype.
> NetAccept has a member named 'etype' and it is set by upgradeEtype before
> NetAccept running.
> Thus, we can replace getEtype() with member etype and make the SSLNetAccept
> codes clearly.
> Should we remote the getEtype() method ? It is called by none after the patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)