[jira] [Created] (TS-1189) Build problem on CentOS5

2012-04-05 Thread Leif Hedstrom (Created) (JIRA)
Build problem on CentOS5


 Key: TS-1189
 URL: https://issues.apache.org/jira/browse/TS-1189
 Project: Traffic Server
  Issue Type: Bug
  Components: SSL
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
Priority: Critical
 Fix For: 3.1.4


{code}
diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
index 33ebe64..0a41a08 100644
--- a/iocore/net/SSLNetVConnection.cc
+++ b/iocore/net/SSLNetVConnection.cc
@@ -673,9 +673,9 @@ SSLNetVConnection::registerNextProtocolSet(const 
SSLNextProtocolSet * s)
 }
 
 int
-SSLNetVConnection::advertise_next_protocol(
-SSL *ssl, const unsigned char **out, unsigned int *outlen, void *arg)
+SSLNetVConnection::advertise_next_protocol(SSL *ssl, const unsigned char 
**out, unsigned int *outlen, void *arg)
 {
+#if TS_USE_TLS_NPN
   SSLNetVConnection * netvc = (SSLNetVConnection *)SSL_get_app_data(ssl);
 
   ink_release_assert(netvc != NULL);
@@ -686,4 +686,7 @@ SSLNetVConnection::advertise_next_protocol(
   }
 
   return SSL_TLSEXT_ERR_NOACK;
+#else
+  return 0;
+#endif
 }
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1189) Build problem on CentOS5

2012-04-05 Thread Leif Hedstrom (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13247744#comment-13247744
 ] 

Leif Hedstrom commented on TS-1189:
---

Reported to me by Christopher Eckhardt.

 Build problem on CentOS5
 

 Key: TS-1189
 URL: https://issues.apache.org/jira/browse/TS-1189
 Project: Traffic Server
  Issue Type: Bug
  Components: SSL
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
Priority: Critical
 Fix For: 3.1.4


 {code}
 diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
 index 33ebe64..0a41a08 100644
 --- a/iocore/net/SSLNetVConnection.cc
 +++ b/iocore/net/SSLNetVConnection.cc
 @@ -673,9 +673,9 @@ SSLNetVConnection::registerNextProtocolSet(const 
 SSLNextProtocolSet * s)
  }
  
  int
 -SSLNetVConnection::advertise_next_protocol(
 -SSL *ssl, const unsigned char **out, unsigned int *outlen, void *arg)
 +SSLNetVConnection::advertise_next_protocol(SSL *ssl, const unsigned char 
 **out, unsigned int *outlen, void *arg)
  {
 +#if TS_USE_TLS_NPN
SSLNetVConnection * netvc = (SSLNetVConnection *)SSL_get_app_data(ssl);
  
ink_release_assert(netvc != NULL);
 @@ -686,4 +686,7 @@ SSLNetVConnection::advertise_next_protocol(
}
  
return SSL_TLSEXT_ERR_NOACK;
 +#else
 +  return 0;
 +#endif
  }
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (TS-1189) Build problem on CentOS5

2012-04-05 Thread Leif Hedstrom (Resolved) (JIRA)

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

Leif Hedstrom resolved TS-1189.
---

Resolution: Fixed

Fixed as per jpeach's wishes. 

 Build problem on CentOS5
 

 Key: TS-1189
 URL: https://issues.apache.org/jira/browse/TS-1189
 Project: Traffic Server
  Issue Type: Bug
  Components: SSL
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
Priority: Critical
 Fix For: 3.1.4


 {code}
 diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
 index 33ebe64..0a41a08 100644
 --- a/iocore/net/SSLNetVConnection.cc
 +++ b/iocore/net/SSLNetVConnection.cc
 @@ -673,9 +673,9 @@ SSLNetVConnection::registerNextProtocolSet(const 
 SSLNextProtocolSet * s)
  }
  
  int
 -SSLNetVConnection::advertise_next_protocol(
 -SSL *ssl, const unsigned char **out, unsigned int *outlen, void *arg)
 +SSLNetVConnection::advertise_next_protocol(SSL *ssl, const unsigned char 
 **out, unsigned int *outlen, void *arg)
  {
 +#if TS_USE_TLS_NPN
SSLNetVConnection * netvc = (SSLNetVConnection *)SSL_get_app_data(ssl);
  
ink_release_assert(netvc != NULL);
 @@ -686,4 +686,7 @@ SSLNetVConnection::advertise_next_protocol(
}
  
return SSL_TLSEXT_ERR_NOACK;
 +#else
 +  return 0;
 +#endif
  }
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TS-1190) Change default for proxy.config.http.share_server_sessions

2012-04-05 Thread Leif Hedstrom (Created) (JIRA)
Change default for proxy.config.http.share_server_sessions
--

 Key: TS-1190
 URL: https://issues.apache.org/jira/browse/TS-1190
 Project: Traffic Server
  Issue Type: Improvement
  Components: HTTP
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
 Fix For: 3.1.4


We should enable session sharing with dedicated session pools per net-thread as 
the default. It has the best performance for a majority of our use cases.

CONFIG proxy.config.http.share_server_sessions INT 2


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TS-1191) change the default for search domains for dns to 0

2012-04-05 Thread Bryan Call (Created) (JIRA)
change the default for search domains for dns to 0
--

 Key: TS-1191
 URL: https://issues.apache.org/jira/browse/TS-1191
 Project: Traffic Server
  Issue Type: Improvement
Reporter: Bryan Call
Assignee: Bryan Call
Priority: Minor
 Fix For: 3.1.4


As part of TS-703.  Making this change a separate bug that is easy to change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (TS-1190) Change default for proxy.config.http.share_server_sessions

2012-04-05 Thread Leif Hedstrom (Resolved) (JIRA)

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

Leif Hedstrom resolved TS-1190.
---

Resolution: Fixed

Fixed in 3500ba8d0957a2cde866090786a81e258e134688.

 Change default for proxy.config.http.share_server_sessions
 --

 Key: TS-1190
 URL: https://issues.apache.org/jira/browse/TS-1190
 Project: Traffic Server
  Issue Type: Improvement
  Components: HTTP
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
 Fix For: 3.1.4


 We should enable session sharing with dedicated session pools per net-thread 
 as the default. It has the best performance for a majority of our use cases.
 CONFIG proxy.config.http.share_server_sessions INT 2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1191) change the default for search domains for dns to 0

2012-04-05 Thread Bryan Call (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13247890#comment-13247890
 ] 

Bryan Call commented on TS-1191:


git commit:

commit 0055c9d51134e0fb186bacfa71cbb1b805dea426
Author: Bryan Call bryan_c...@yahoo.com
Date:   Thu Apr 5 17:21:50 2012 -0700

TS-1191 Change the default for proxy.config.dns.search_default_domains to 0

 change the default for search domains for dns to 0
 --

 Key: TS-1191
 URL: https://issues.apache.org/jira/browse/TS-1191
 Project: Traffic Server
  Issue Type: Improvement
Reporter: Bryan Call
Assignee: Bryan Call
Priority: Minor
 Fix For: 3.1.4


 As part of TS-703.  Making this change a separate bug that is easy to change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (TS-1191) change the default for search domains for dns to 0

2012-04-05 Thread Bryan Call (Resolved) (JIRA)

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

Bryan Call resolved TS-1191.


Resolution: Fixed

Changed the default for proxy.config.dns.search_default_domains to 0

 change the default for search domains for dns to 0
 --

 Key: TS-1191
 URL: https://issues.apache.org/jira/browse/TS-1191
 Project: Traffic Server
  Issue Type: Improvement
Reporter: Bryan Call
Assignee: Bryan Call
Priority: Minor
 Fix For: 3.1.4


 As part of TS-703.  Making this change a separate bug that is easy to change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1079) Add an API function to turn debugging on for specific transactions/sessions

2012-04-05 Thread James Peach (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13247983#comment-13247983
 ] 

James Peach commented on TS-1079:
-

My 2c 

When adding new TSAPI, please review on the dev@ list before committing. If the 
debug flag is just a flag, then it should be bool; if it's intended to grow 
other values, it should be unsigned.

Why does TSDebugSpecific() need the debug_flag parameter?

s/messeges/messages/

 Add an API function to turn debugging on for specific transactions/sessions
 ---

 Key: TS-1079
 URL: https://issues.apache.org/jira/browse/TS-1079
 Project: Traffic Server
  Issue Type: Improvement
  Components: Core, HTTP
Reporter: Uri Shachar
Assignee: Leif Hedstrom
Priority: Minor
 Fix For: 3.1.4

 Attachments: debug_specific.patch, debug_specific_2.patch, 
 debug_specific_3.patch, debug_specific_4.patch

   Original Estimate: 72h
  Remaining Estimate: 72h

   When attempting to troubleshoot issues on a production ATS system, it 
 is often impossible/difficult to turn on any of the 'high-volume' debug tags 
 like http due to the performance impact.
  
 This enhancement allows a plugin to set a debug flag for a specific txn/ssn, 
 and replaces some of the internal Debug calls with a new function that checks 
 if the flag is turned on, and outputs the debug line regardless of the tag if 
 it is (The diags enable/disable flag is still taken into account).
 The API will also have TSDebugSpecific in order to allow plugins to use the 
 same functionality.
 In addition, we might consider adding an internal config file (remap-like) to 
 allow turning this flag on without plugin intervention.
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira