1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

HTTP: Support HTTP header in creating order. v5.0.68

This commit is contained in:
winlin 2022-09-30 18:22:25 +08:00
parent d65c699829
commit 4b7d9587f4
5 changed files with 83 additions and 12 deletions

View file

@ -93,6 +93,8 @@ private:
// header fields, and ending with the entity-header fields.
// @doc https://tools.ietf.org/html/rfc2616#section-4.2
std::map<std::string, std::string> headers;
// Store keys to keep fields in order.
std::vector<std::string> keys_;
public:
SrsHttpHeader();
virtual ~SrsHttpHeader();