Commit 69cb2dbd authored by gejun's avatar gejun

Resolve conflict with HEAD

parent 61b594af
...@@ -147,9 +147,9 @@ struct H2FrameHead { ...@@ -147,9 +147,9 @@ struct H2FrameHead {
int stream_id; int stream_id;
}; };
static void SerializeFrameHead(void* out_buf, uint32_t payload_size, void SerializeFrameHead(void* out_buf,
H2FrameType type, uint8_t flags, uint32_t payload_size, H2FrameType type,
uint32_t stream_id) { uint8_t flags, uint32_t stream_id) {
uint8_t* p = (uint8_t*)out_buf; uint8_t* p = (uint8_t*)out_buf;
*p++ = (payload_size >> 16) & 0xFF; *p++ = (payload_size >> 16) & 0xFF;
*p++ = (payload_size >> 8) & 0xFF; *p++ = (payload_size >> 8) & 0xFF;
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#endif #endif
namespace brpc { namespace brpc {
namespace policy { namespace policy {
class H2StreamContext; class H2StreamContext;
...@@ -276,11 +275,11 @@ enum H2FrameType { ...@@ -276,11 +275,11 @@ enum H2FrameType {
H2_FRAME_TYPE_MAX = 0x9 H2_FRAME_TYPE_MAX = 0x9
}; };
void SerializeFrameHead(void* out_buf, uint32_t payload_size, void SerializeFrameHead(void* out_buf,
H2FrameType type, uint8_t flags, uint32_t payload_size, H2FrameType type,
uint32_t stream_id); uint8_t flags, uint32_t stream_id);
} // namespace policy } // namespace policy
} // namespace brpc } // namespace brpc
#endif // BAIDU_RPC_POLICY_HTTP2_RPC_PROTOCOL_H #endif // BAIDU_RPC_POLICY_HTTP2_RPC_PROTOCOL_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment