[jira] [Assigned] (TS-1210) remove 3.0.x deprecated APIs

2012-04-18 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1210:
---

Assignee: James Peach

> remove 3.0.x deprecated APIs
> 
>
> Key: TS-1210
> URL: https://issues.apache.org/jira/browse/TS-1210
> Project: Traffic Server
>  Issue Type: Bug
>  Components: TS API
>Reporter: James Peach
>Assignee: James Peach
> Fix For: 3.1.4
>
>
> We should remove the following APIs that were deprecated in 3.0:
>   tsapi TSReturnCode TSUrlDestroy(TSMBuffer bufp, TSMLoc offset);
>   tsapi TS_DEPRECATED unsigned int TSHttpTxnClientIPGet(TSHttpTxn txnp);
>   tsapi TS_DEPRECATED TSReturnCode TSHttpTxnClientRemotePortGet(TSHttpTxn 
> txnp, int* portp);
>   tsapi TS_DEPRECATED int TSHttpTxnClientIncomingPortGet(TSHttpTxn txnp);
>   tsapi TS_DEPRECATED unsigned int TSHttpTxnServerIPGet(TSHttpTxn txnp);
>   tsapi TS_DEPRECATED unsigned int TSHttpTxnNextHopIPGet(TSHttpTxn txnp);
>   tsapi TS_DEPRECATED int TSHttpTxnNextHopPortGet(TSHttpTxn txnp);
>   tsapi TS_DEPRECATED int TSHttpTxnMaxArgCntGet(void);
>   tsapi TS_DEPRECATED unsigned int TSNetVConnRemoteIPGet(TSVConn vc);
>   tsapi TS_DEPRECATED int TSNetVConnRemotePortGet(TSVConn vc);
>   tsapi TS_DEPRECATED unsigned int TSHostLookupResultIPGet(TSHostLookupResult 
> lookup_result);
>   tsapi TS_DEPRECATED void TSOSIpSet(TSHttpTxn txnp, unsigned int ip);
>   tsapi TS_DEPRECATED void TSIOBufferAppend(TSIOBuffer bufp, TSIOBufferBlock 
> blockp);
>   tsapi TS_DEPRECATED TSIOBufferData TSIOBufferDataCreate(void* data, int 
> size, TSIOBufferDataFlags flags);
>   tsapi TS_DEPRECATED TSIOBufferBlock TSIOBufferBlockCreate(TSIOBufferData 
> datap, int size, int offset);

--
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] [Assigned] (TS-1162) UnixNetVConnection.cc assertion when accepting a TLS connection

2012-03-24 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1162:
---

Assignee: James Peach

> UnixNetVConnection.cc assertion when accepting a TLS connection
> ---
>
> Key: TS-1162
> URL: https://issues.apache.org/jira/browse/TS-1162
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 3.1.4
>Reporter: James Peach
>Assignee: James Peach
> Fix For: 3.1.4
>
>
> Trunk always crashes when accepting a TLS connection:
> FATAL: UnixNetVConnection.cc:801: failed assert `vio->mutex->thread_holding 
> == this_ethread()`
> /opt/ats/bin/traffic_server - STACK TRACE: 
> 0   libtsutil.3.dylib   0x00010c3e7ee7 ink_fatal + 359
> 1   libtsutil.3.dylib   0x00010c3e6e22 _ink_assert + 66
> 2   traffic_server  0x00010b9e6d9a 
> _ZN18UnixNetVConnection11set_enabledEP3VIO + 90
> 3   traffic_server  0x00010b9e681d 
> _ZN18UnixNetVConnection8reenableEP3VIO + 93
> 4   traffic_server  0x00010b7bfcd6 _ZN3VIO8reenableEv 
> + 54
> 5   traffic_server  0x00010b9e5cd9 
> _ZN18UnixNetVConnection10do_io_readEP12ContinuationxP9MIOBuffer + 297
> 6   traffic_server  0x00010b792611 
> _ZN11VConnection5do_ioEiP12ContinuationxP9MIOBufferi + 129
> 7   traffic_server  0x00010b9d6da9 
> _ZN21SSLNextProtocolAccept9mainEventEiPv + 329
> 8   traffic_server  0x00010b792229 
> _ZN12Continuation11handleEventEiPv + 121
> 9   traffic_server  0x00010b9e89bd 
> _ZN18UnixNetVConnection11acceptEventEiP5Event + 829
> 10  traffic_server  0x00010b792229 
> _ZN12Continuation11handleEventEiPv + 121
> 11  traffic_server  0x00010ba0905d 
> _ZN7EThread13process_eventEP5Eventi + 349
> 12  traffic_server  0x00010ba09367 
> _ZN7EThread7executeEv + 215
> 13  traffic_server  0x00010ba080ed 
> _ZL21spawn_thread_internalPv + 109
> 14  libsystem_c.dylib   0x7fff8fcb78bf _pthread_start + 
> 335
> 15  libsystem_c.dylib   0x7fff8fcbab75 thread_start + 13
> [Mar 22 21:58:45.009] Manager {0x7fff79b01960} ERROR: 
> [LocalManager::pollMgmtProcessServer] Server Process terminated due to Sig 6: 
> Abort trap: 6

--
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] [Assigned] (TS-1135) support wildcard certificates for ServerNameIndication (SNI)

2012-03-19 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1135:
---

Assignee: James Peach

> support wildcard certificates for ServerNameIndication (SNI)
> 
>
> Key: TS-1135
> URL: https://issues.apache.org/jira/browse/TS-1135
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: SSL
>Reporter: James Peach
>Assignee: James Peach
>
> The ServerNameIndication support added in TS-472 doesn't handle wildcard 
> certificates. We need to add certificate parsing support to detect wildcard 
> certificates and then (if there is not an exact match) choose the certificate 
> with the longest wildcard match.

--
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] [Assigned] (TS-669) [GSoC2011] ATS does not support SSL in IPv6

2012-03-05 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-669:
--

Assignee: Alan M. Carroll

Alan, with your recent IPV6 and port configuration work, is SSL now supported 
for IPV6?

> [GSoC2011] ATS does not support SSL in IPv6
> ---
>
> Key: TS-669
> URL: https://issues.apache.org/jira/browse/TS-669
> Project: Traffic Server
>  Issue Type: Bug
>  Components: SSL
>Affects Versions: 3.0.0
>Reporter: vijaya bhaskar mamidi
>Assignee: Alan M. Carroll
>  Labels: gsoc2011, ipv6, ssl
> Fix For: 3.3.0
>
>
> proxy.config.http.server_other_ports is used to support IPv6 but this only 
> work for http ports and not secure ports. We should support IPv6 for secure 
> ports as well.

--
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] [Assigned] (TS-462) Support TLS Server Name Indication (SNI) negotiation

2012-03-05 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-462:
--

Assignee: James Peach  (was: Igor Galić)

> Support TLS Server Name Indication (SNI) negotiation
> 
>
> Key: TS-462
> URL: https://issues.apache.org/jira/browse/TS-462
> Project: Traffic Server
>  Issue Type: New Feature
>  Components: SSL
>Affects Versions: 3.0.0
>Reporter: Leif Hedstrom
>Assignee: James Peach
>Priority: Minor
>  Labels: ssl
> Fix For: 3.1.5
>
>
> We should support TLS Server Name Indication (SNI). This would allow for well 
> behaved TLS clients to negotiate the certificate, without requiring a new IP 
> for every site / certificate used.

--
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] [Assigned] (TS-841) Refactor SSL code to make it possible to perform NPN negotiation without entering the HTTP SM

2012-02-14 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-841:
--

Assignee: James Peach

> Refactor SSL code to make it possible to perform NPN negotiation without 
> entering the HTTP SM
> -
>
> Key: TS-841
> URL: https://issues.apache.org/jira/browse/TS-841
> Project: Traffic Server
>  Issue Type: New Feature
>  Components: HTTP, SSL
>Reporter: Leif Hedstrom
>Assignee: James Peach
> Fix For: 3.1.3
>
>
> In order to make it possible to write protocol handlers like SPDY, we need to 
> negotiate NPN protocol before entering the HTTP SM. 

--
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] [Assigned] (TS-1097) online help for traffic_shell

2012-01-27 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1097:
---

Assignee: James Peach

> online help for traffic_shell
> -
>
> Key: TS-1097
> URL: https://issues.apache.org/jira/browse/TS-1097
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: Management
>Reporter: James Peach
>Assignee: James Peach
>Priority: Minor
> Fix For: 3.1.2
>
>
> traffic_shell should have online help for its commands

--
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] [Assigned] (TS-1096) readline support for traffic_shell

2012-01-27 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1096:
---

Assignee: James Peach

> readline support for traffic_shell
> --
>
> Key: TS-1096
> URL: https://issues.apache.org/jira/browse/TS-1096
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: Management
>Reporter: James Peach
>Assignee: James Peach
>Priority: Minor
> Fix For: 3.1.2
>
>
> traffic_shell should use readline to support line editing and command history.

--
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] [Assigned] (TS-1082) configure always clobbers optimiser flags

2012-01-19 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1082:
---

Assignee: Igor Galić  (was: James Peach)

> configure always clobbers optimiser flags
> -
>
> Key: TS-1082
> URL: https://issues.apache.org/jira/browse/TS-1082
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Build
>Reporter: James Peach
>Assignee: Igor Galić
>Priority: Minor
> Attachments: 0001-TS-1082-Fix-optimizer-flags-detection.patch
>
>
> If the builder specifies optimizer flags, don't flip the default to -O3. 
> Current behaviour is to always use -O3, since the check to disable this 
> doesn't work. I believe the intention if for the builder to be able to do 
> "CXXFLAGS=-O1 ./configure" and have the build use -O1.

--
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] [Assigned] (TS-1084) enable compile-time format string checking

2012-01-18 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1084:
---

Assignee: Leif Hedstrom

Leif, can you review and apply if appropriate. Thanks.

> enable compile-time format string checking
> --
>
> Key: TS-1084
> URL: https://issues.apache.org/jira/browse/TS-1084
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: Cleanup
>Reporter: James Peach
>Assignee: Leif Hedstrom
>Priority: Minor
> Attachments: 0001-Add-format-string-checking.patch
>
>
> Add format string checking.
> 
> Add format string checking to internal and external APIs that take
> a printf(3) format string. No functional changes.
> 
> Fix all the resulting warnings
> - time_t is formatted as long long for portability
> - size_t became %zu
> - pointers all became %p

--
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] [Assigned] (TS-1083) initial SSL next protocol negotiation support

2012-01-18 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1083:
---

Assignee: Leif Hedstrom  (was: James Peach)

Leif, can you review and apply if appropriate. Thanks.

> initial SSL next protocol negotiation support
> -
>
> Key: TS-1083
> URL: https://issues.apache.org/jira/browse/TS-1083
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: SSL
>Reporter: James Peach
>Assignee: Leif Hedstrom
>Priority: Minor
> Attachments: 
> 0001-Compile-time-detection-of-NextProtocolNegotiation-su.patch, 
> 0002-Initial-NPN-plumbing.patch
>
>
> Initial autoconf support for detecting OpenSSL Next Protocol Negotiation 
> APIs. Advertise that we support HTTP/1.0 and HTTP/1.1. Because we do.

--
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] [Assigned] (TS-1082) configure always clobbers optimiser flags

2012-01-18 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1082:
---

Assignee: Igor Galić  (was: James Peach)

Igor, can you please review and commit if appropriate. Thanks.

> configure always clobbers optimiser flags
> -
>
> Key: TS-1082
> URL: https://issues.apache.org/jira/browse/TS-1082
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Build
>Reporter: James Peach
>Assignee: Igor Galić
>Priority: Minor
> Attachments: 0001-TS-1082-Fix-optimizer-flags-detection.patch
>
>
> If the builder specifies optimizer flags, don't flip the default to -O3. 
> Current behaviour is to always use -O3, since the check to disable this 
> doesn't work. I believe the intention if for the builder to be able to do 
> "CXXFLAGS=-O1 ./configure" and have the build use -O1.

--
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] [Assigned] (TS-1041) PATCH: guarantee to populate sockaddr length for TSHostLookupResultAddrGet

2012-01-14 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1041:
---

Assignee: Leif Hedstrom  (was: James Peach)

> PATCH: guarantee to populate sockaddr length for TSHostLookupResultAddrGet
> --
>
> Key: TS-1041
> URL: https://issues.apache.org/jira/browse/TS-1041
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: DNS
> Environment: Mac OS X 10.7
>Reporter: James Peach
>Assignee: Leif Hedstrom
>Priority: Minor
> Fix For: 3.1.2
>
> Attachments: 0001-Ensure-sockaddr-length-is-always-populated.patch, 
> 0003-Ensure-sockaddr-length-is-always-populated.patch
>
>
> The sockaddr returned by TSHostLookupResultAddrGet() does not always get it's 
> sa_len field populated correctly. This patch guarantees to populate it to the 
> correct value so that plugin authors can rely on that field when copying the 
> TSHostLookupResultAddrGet() result.

--
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] [Assigned] (TS-1070) replace and deprecate TSFetchURL()

2012-01-08 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1070:
---

Assignee: James Peach

> replace and deprecate TSFetchURL()
> --
>
> Key: TS-1070
> URL: https://issues.apache.org/jira/browse/TS-1070
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: TS API
>Reporter: James Peach
>Assignee: James Peach
>Priority: Minor
> Fix For: 3.1.2
>
>
> TSFetchURL() has a number of shortcomings:
> 1. it's not cancellable
> 2. the event delivery is bizarre
> 3. it doesn't play nicely with the TSHttpHdr*() API.
> I propose the following API changes:
> typedef enum
> {
> ...
> TS_EVENT_FETCH_SUCCESS,
> TS_EVENT_FETCH_FAILURE
> } TSEvent;
> TSAction TSFetchResource(TSCont, TSMBuffer, TSLoc, const sockaddr *, 
> TSFetchWakeUpOptions);
> TSFetchResource() takes a TSMBuffer/TSLoc pair that must contain the HTTP and 
> MIME headers. If the HTTP method in the HTTP header is not GET, and a error 
> will be reported.
> The continuation callback will be invoked with either TS_EVENT_FETCH_SUCCESS 
> or TS_EVENT_FETCH_SUCCESS. For TS_EVENT_FETCH_SUCCESS, the edata pointer will 
> be a HttpTxn pointer suitable for call TSFetchRespGet() or TSFetchHdrGet(). 
> For TS_EVENT_FETCH_FAILURE, I'd like to arrange a way to get the HTTP error 
> code. Hopefully there is some existing precedent to follow.
> TSFetchResource() should be cancellable via the TSAction return value.
> I'm not sure whether TSFetchWakeUpOptions is really necessary, but if we 
> eliminate this, I'd argue for a uint64_t flags parameter.

--
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] [Assigned] (TS-1041) PATCH: guarantee to populate sockaddr length for TSHostLookupResultAddrGet

2012-01-06 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1041:
---

Assignee: James Peach  (was: Leif Hedstrom)

> PATCH: guarantee to populate sockaddr length for TSHostLookupResultAddrGet
> --
>
> Key: TS-1041
> URL: https://issues.apache.org/jira/browse/TS-1041
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: DNS
> Environment: Mac OS X 10.7
>Reporter: James Peach
>Assignee: James Peach
>Priority: Minor
> Fix For: 3.1.2
>
> Attachments: 0003-Ensure-sockaddr-length-is-always-populated.patch
>
>
> The sockaddr returned by TSHostLookupResultAddrGet() does not always get it's 
> sa_len field populated correctly. This patch guarantees to populate it to the 
> correct value so that plugin authors can rely on that field when copying the 
> TSHostLookupResultAddrGet() result.

--
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] [Assigned] (TS-1044) PATCH: Fix TSVConn{Read,Write}VIOGet in UnixNetVConnection.

2012-01-05 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1044:
---

Assignee: Leif Hedstrom

Leif, can you please review and commit if it looks OK?

> PATCH: Fix TSVConn{Read,Write}VIOGet in UnixNetVConnection.
> ---
>
> Key: TS-1044
> URL: https://issues.apache.org/jira/browse/TS-1044
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Reporter: James Peach
>Assignee: Leif Hedstrom
> Fix For: 3.1.2
>
> Attachments: 
> 0006-Fix-TSVConn-Read-Write-VIOGet-in-UnixNetVConnection.patch
>
>
> UnixNetVConnection does not actually implement the virtual interface 
> necessary to support the TSVConn{Read,Write}VIOGet() APIs. Even worse, the 
> API layer assumes that this can't fail and proceeds to return a pointer to 
> stack junk.
> This patch implements TSVConn{Read,Write}VIOGet() for UnixNetVConnection and 
> allows the API to return NULL.

--
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] [Assigned] (TS-1041) PATCH: guarantee to populate sockaddr length for TSHostLookupResultAddrGet

2012-01-04 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1041:
---

Assignee: Leif Hedstrom

Leif, can you please review and apply if it looks ok?

> PATCH: guarantee to populate sockaddr length for TSHostLookupResultAddrGet
> --
>
> Key: TS-1041
> URL: https://issues.apache.org/jira/browse/TS-1041
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: DNS
> Environment: Mac OS X 10.7
>Reporter: James Peach
>Assignee: Leif Hedstrom
>Priority: Minor
> Fix For: 3.1.2
>
> Attachments: 0003-Ensure-sockaddr-length-is-always-populated.patch
>
>
> The sockaddr returned by TSHostLookupResultAddrGet() does not always get it's 
> sa_len field populated correctly. This patch guarantees to populate it to the 
> correct value so that plugin authors can rely on that field when copying the 
> TSHostLookupResultAddrGet() result.

--
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] [Assigned] (TS-1040) PATCH: teach TSHostLookup to use const

2012-01-04 Thread James Peach (Assigned) (JIRA)

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

James Peach reassigned TS-1040:
---

Assignee: Leif Hedstrom

Leif, can you please review and commit if it looks ok?

> PATCH: teach TSHostLookup to use const
> --
>
> Key: TS-1040
> URL: https://issues.apache.org/jira/browse/TS-1040
> Project: Traffic Server
>  Issue Type: Improvement
>  Components: DNS
>Reporter: James Peach
>Assignee: Leif Hedstrom
>Priority: Minor
> Fix For: 3.1.2
>
> Attachments: 
> 0002-TSHostLookup-should-take-const-hostname-argument.patch
>
>
> This patch improves the TSHostLookup() API by specifying it's hostname 
> argument as const. This reduces the number of casts required of plugin 
> authors.
> The new prototype is:
> tsapi TSAction TSHostLookup(TSCont contp, const char* hostname, size_t 
> namelen)

--
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