Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: Kartik Pattaswamy <[email protected]>
  • Loading branch information
kpattaswamy committed Nov 21, 2023
1 parent 8c07447 commit 030f300
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ RecordsWithErrorCount<mongodb::Record> StitchFrames(

// Ignore stitching the request/response if either one is a handshaking frame.
if (req_frame.is_handshake || resp_frame.is_handshake) {
req_frame.consumed = true;
resp_frame.consumed = true;
break;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ constexpr int32_t kMaxBSONObjSize = 16000000;
* There can be 0 or more documents in a section of kind 1 without a separator between them.
*
* Information about MongoDB handshaking messages can be found here:
* https://github.com/mongodb/specifications/blob/master/source/mongodb-handshake/handshake.rst
* https://github.com/mongodb/specifications/blob/022fbf64fb36c80b9295ba93acec150c94362767/source/mongodb-handshake/handshake.rst
*/

struct Frame : public FrameBase {
Expand Down

0 comments on commit 030f300

Please sign in to comment.