[ 
https://issues.apache.org/jira/browse/MESOS-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526217#comment-14526217
 ] 

Benjamin Mahler commented on MESOS-328:
---------------------------------------

{{unordered_map}} supports passing in custom equality / hash functors, any 
reason not to leverage this? We can also extend stout's hashmap to pass custom 
equality / hash functions through to its underlying {{unordered_map}}, but I 
think the first approach will be more straightforward now that we can assume 
the presence of {{std::unordered_map}} thanks to C++11.

> HTTP headers should be considered case-insensitive.
> ---------------------------------------------------
>
>                 Key: MESOS-328
>                 URL: https://issues.apache.org/jira/browse/MESOS-328
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess
>            Reporter: Benjamin Mahler
>            Assignee: haosdent
>            Priority: Minor
>              Labels: twitter
>
> I found this when writing some tests for the decoder in libprocess.
> Message header names should be case-insensitive:
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
> Creating this issue to track it, I'm going to add some TODOs for now.
> Most clients tend to use Camel-Case for the headers so this is not urgent.



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

Reply via email to