[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-11-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on TS-2812:
-

Commit d6380f72ef4416a2c69070944a4875835d96a76e in trafficserver's branch 
refs/heads/master from [~sudheerv]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=d6380f7 ]

[TS-2812]: cleanup trailing spaces etc


 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
Assignee: Bryan Call
  Labels: spdy, yahoo
 Fix For: sometime

 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



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


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-11-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on TS-2812:
-

Commit cb63dd96e25b5c82620c19c5925ac09e6a249bd2 in trafficserver's branch 
refs/heads/master from [~sudheerv]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=cb63dd9 ]

[TS-2812]: Initial version of header_normalize plugin


 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
Assignee: Bryan Call
  Labels: spdy, yahoo
 Fix For: sometime

 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



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


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-11-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on TS-2812:
-

Commit 8cc7137892919aecd61c3fef187cc94cd45f364c in trafficserver's branch 
refs/heads/master from [~sudheerv]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=8cc7137 ]

[TS-2812] : removing Makefile.in (briang and jpeach pointed that this is 
auto-generated)


 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
  Labels: spdy, yahoo
 Fix For: sometime

 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



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


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-11-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on TS-2812:
-

Commit 177e8da431f073606b22ceb740b1009308f2cc23 in trafficserver's branch 
refs/heads/master from [~sudheerv]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=177e8da ]

[TS-2812]: Adding a comment to optimize the hook to send_request_hdr_hook


 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
Assignee: Sudheer Vinukonda
  Labels: spdy, yahoo
 Fix For: sometime

 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



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


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-27 Thread Sudheer Vinukonda (JIRA)

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

Sudheer Vinukonda commented on TS-2812:
---

Leif - this is a temporary workaround for interworking with legacy/old origins 
that can't support lower case SPDY headers. I wrote it for our use, but, posted 
a jira patch on ~[bcall]'s recommendation. I will leave it up to you to decide 
whether or not it is needed in 5.0. Thanks!

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-27 Thread James Peach (JIRA)

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

James Peach commented on TS-2812:
-

As per my previous comment, we should fix the root cause and not paper over the 
problems with additional plugins.

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-27 Thread Sudheer Vinukonda (JIRA)

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

Sudheer Vinukonda commented on TS-2812:
---

I don't believe forwarding/transmitting lower case headers from ATS to the 
origin is a bug. 

HTTP/1 clearly says the receiver should accept headers in any case, so, 
converting lower case spdy headers to camel case within ATS, infact, seems like 
hiding the problem and doesn't seem like a good solution for the long run 
(HTTP/2 and SPDY both mandate the senders to transmit lower case headers). 

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-27 Thread James Peach (JIRA)

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

James Peach commented on TS-2812:
-

Neither HTTP/2 nor SPDY specify how to convert to HTTP/1.1 AFAICT.

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-25 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-2812:
---

Is this for v5.0.0?

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-19 Thread James Peach (JIRA)

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

James Peach commented on TS-2812:
-

I'm suggesting that the plugin is superfluous, since the root cause is probably 
a bug. AFAIK, the HTTP/2 does not speak to what a gateway should do when 
translating from HTTP/2 to HTTP/1. I could see that sometime in the future 
something like this plugin could be needed/

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-19 Thread Sudheer Vinukonda (JIRA)

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

Sudheer Vinukonda commented on TS-2812:
---

Umm..I do agree that the plugin is a workaround/cover, but, I am wondering if 
we should call the root cause (of sending lowercase SPDY headers to a HTTP/1 
origin) a bug. I agree that, from a HTTP/1 origin's perspective, this would 
appear to be a behavior change, but, it looks like, even HTTP/1 seems to allow 
sending headers in any case (based on the above extract that requires the 
HTTP/1.x receiver to perform a case-insensitive comparison). 

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-17 Thread Sudheer Vinukonda (JIRA)

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

Sudheer Vinukonda commented on TS-2812:
---

James - thanks for the input; So, are you suggesting to ALWAYS use camel case 
headers? 

The main idea behind writing this plugin is that, this should only be 
required/used on a need basis and only in the interim, while the legacy systems 
enhance to accept headers in any case. On the other hand, if we change the 
implementation to ALWAYS send camel case headers, that would be incompatible 
with HTTP2 (HTTP/2 mandates the sender to use lowercase headers (and the 
receiver to do a case-insensitive comparison) as well as inefficient, when not 
required, right? 

http://tools.ietf.org/html/draft-ietf-httpbis-http2-12#section-8.1.3

Just as in HTTP/1.x, header field names are strings of ASCII
   characters that are compared in a case-insensitive fashion.  However,
   header field names MUST be converted to lowercase prior to their
encoding in HTTP/2.



 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-16 Thread Sudheer Vinukonda (JIRA)

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

Sudheer Vinukonda commented on TS-2812:
---

For the known MIME headers, the API TSMimeHdrFieldNameGet()  gives the MIME 
field name (from WKS header list) which is currently always in camel case. 
Without a new API to return the actual received header name, there's no way to 
tell if the header name is actually lowercase. So, the initial version of 
plugin just destroys the received header and creates it back with the MIME 
field name always. There's a plan to optimize this to be only modify the header 
name, if the client connection is spdy (currently, there's no api to tell the 
connection is spdy). 

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-16 Thread James Peach (JIRA)

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

James Peach commented on TS-2812:
-

TSRemapDelteInstance?

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2812) header_normalize to convert lower case spdy hdrs to camel case for backward compatibility

2014-05-16 Thread James Peach (JIRA)

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

James Peach commented on TS-2812:
-

AFAICT, this is an implementation issue with the in-core SPDY implementation. 
It implements headers with {{FetchSM::ext_add_header}} which just writes the 
raw header values. The original experimental SPDY implementation uses 
{{TSMimeHdrFieldCreateNamed}} to create the HTTP request header, which I 
believe converts well-known headers to their canonical case.

 header_normalize to convert lower case spdy hdrs to camel case for backward 
 compatibility
 -

 Key: TS-2812
 URL: https://issues.apache.org/jira/browse/TS-2812
 Project: Traffic Server
  Issue Type: New Feature
  Components: SPDY
Reporter: Sudheer Vinukonda
  Labels: spdy, yahoo
 Attachments: ts2812.diff


 During our SPDY testing, we observed that certain legacy systems are not able 
 to handle lower case hdrs mandated by SPDY (and even http 1.0). This simple 
 plugin converts the lowercase header names into camel case and could be used 
 as an interim solution until the legacy systems are upgraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)