[jira] [Updated] (TS-4125) Wrong non-active conditions check

2016-01-12 Thread Bryan Call (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Call updated TS-4125:
---
Summary: Wrong non-active conditions check  (was: wrong non-active 
conditions check)

> Wrong non-active conditions check
> -
>
> Key: TS-4125
> URL: https://issues.apache.org/jira/browse/TS-4125
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 6.0.0
>Reporter: Oknet Xu
> Fix For: 6.1.0
>
>
> In the NetHandler::manage_active_queue() function:
> we should close inactivity timeout vc that means 
> "vc->next_activity_timeout_at <= now".
> but "vc->next_activity_timeout_at > now" here.
> It's call _close_vc() for an activity vc and close vc early.
> {code}
>   for (; vc != NULL; vc = vc_next) {
> if ((vc->next_inactivity_timeout_at > now) || 
> (vc->next_activity_timeout_at > now)) {
>   _close_vc(vc, now, handle_event, closed, total_idle_time, 
> total_idle_count);
> }
> if (max_connections_active_per_thread_in > active_queue_size) {
>   return true;
> }
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-4125) wrong non-active conditions check

2016-01-12 Thread Bryan Call (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Call updated TS-4125:
---
Affects Version/s: 6.0.0

> wrong non-active conditions check
> -
>
> Key: TS-4125
> URL: https://issues.apache.org/jira/browse/TS-4125
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 6.0.0
>Reporter: Oknet Xu
> Fix For: 6.1.0
>
>
> In the NetHandler::manage_active_queue() function:
> we should close inactivity timeout vc that means 
> "vc->next_activity_timeout_at <= now".
> but "vc->next_activity_timeout_at > now" here.
> It's call _close_vc() for an activity vc and close vc early.
> {code}
>   for (; vc != NULL; vc = vc_next) {
> if ((vc->next_inactivity_timeout_at > now) || 
> (vc->next_activity_timeout_at > now)) {
>   _close_vc(vc, now, handle_event, closed, total_idle_time, 
> total_idle_count);
> }
> if (max_connections_active_per_thread_in > active_queue_size) {
>   return true;
> }
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-4125) wrong non-active conditions check

2016-01-12 Thread Bryan Call (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Call updated TS-4125:
---
Fix Version/s: 6.1.0

> wrong non-active conditions check
> -
>
> Key: TS-4125
> URL: https://issues.apache.org/jira/browse/TS-4125
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 6.0.0
>Reporter: Oknet Xu
> Fix For: 6.1.0
>
>
> In the NetHandler::manage_active_queue() function:
> we should close inactivity timeout vc that means 
> "vc->next_activity_timeout_at <= now".
> but "vc->next_activity_timeout_at > now" here.
> It's call _close_vc() for an activity vc and close vc early.
> {code}
>   for (; vc != NULL; vc = vc_next) {
> if ((vc->next_inactivity_timeout_at > now) || 
> (vc->next_activity_timeout_at > now)) {
>   _close_vc(vc, now, handle_event, closed, total_idle_time, 
> total_idle_count);
> }
> if (max_connections_active_per_thread_in > active_queue_size) {
>   return true;
> }
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)