diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-22 23:11:49 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-23 01:57:19 +0000 |
commit | fe1e1200c1541676e6b8402b7972a16105a76a63 (patch) | |
tree | 1ae0addce5d4cef8985ca859c33ef78c4d763751 /http.c | |
parent | 1199492dd1adb394cf4cc0d599e7f77c52ccbdbf (diff) | |
download | cmogstored-fe1e1200c1541676e6b8402b7972a16105a76a63.tar.gz |
This was inherited from a server which needed to deal with some broken clients, MogileFS does not have this problem. Neither Perlbal nor nginx set this response header, either, so lets save ourselves a few bytes.
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -480,8 +480,6 @@ void mog_http_resp0(struct mog_fd *mfd, struct iovec *status, bool alive) #define CPY(str) mempcpy(dst, (str),(sizeof(str)-1)) dst = CPY("HTTP/1.1 "); dst = mempcpy(dst, status->iov_base, status->iov_len); - dst = CPY("\r\nStatus: "); - dst = mempcpy(dst, status->iov_base, status->iov_len); dst = CPY("\r\nDate: "); now = mog_now(); dst = mempcpy(dst, now->httpdate, sizeof(now->httpdate)-1); |