apache / apache/druid

Druid router sends back the Date header twice...

Open
#8,252 5 comments 0 reactions 0 assignees View on GitHub
Area - Router Starter
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 58m
Merged PRs (30d)
233

Description

...a.k.a Druid router really wants you to know what time it is.

### Affected Version

Druid 0.16.0-snapshot (and probably earlier)

### Description

Curl Druid with a `-v`

![image](https://user-images.githubusercontent.com/177816/62597204-1e0aa800-b89a-11e9-8427-bbb862cbc8e6.png)

Notice that the `Date: ` Header is in there twice in the response

![image](https://user-images.githubusercontent.com/177816/62597224-32e73b80-b89a-11e9-9bf0-7e5e0da17b40.png)

Same goes for SQL:

![image](https://user-images.githubusercontent.com/177816/62597251-41355780-b89a-11e9-9b15-c7902b22cdf3.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the duplicate Date header through the Druid router with curl -v, checking both the regular request and SQL request described in the issue. No source file or test is named; done means identifying the router path responsible and confirming that each response contains only one Date header.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.