simplify logic due to slb retaining request headers
commit66153c6ff84051ee1d34516a8b0b7d2d8901eeee
authorDavid Langevin <dlangevi@fb.com>
Tue, 2 Aug 2016 21:56:41 +0000 (2 14:56 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Tue, 2 Aug 2016 22:53:54 +0000 (2 15:53 -0700)
tree96c82ebec4f6bc23ca734580f941d3f2b783157a
parenta2331dcbbdc0df354a8795e1ca12ed421880080a
simplify logic due to slb retaining request headers

Summary:
Since the slb retains the request headers, there is no need to return
them with the post body, additionally the slb can handle manage counting the
number of hops taken, so there is no need for getRepostHeaderName

Reviewed By: binliu19

Differential Revision: D3651056

fbshipit-source-id: 72c688777b4878e118ed5e30eb90f0d8d620ccfa
hphp/runtime/server/proxygen/proxygen-server.h
hphp/runtime/server/proxygen/proxygen-transport.cpp