[SERVER-28964] Ensure OP_MSG handlers abandon connections in error cases required by the spec Created: 25/Apr/17  Updated: 30/Oct/23  Resolved: 18/Aug/17

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Task Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2017-05-29, Repl 2017-06-19, Repl 2017-07-31, Repl 2017-08-21
Participants:

 Description   

The OP_MSG spec requires that connections be closed without further use (including replying with an error) in some failure cases, such as when crc validation fails. Some tests currently depend on getting an error reply when sending invalid requests so this will require changing those tests.



 Comments   
Comment by Githook User [ 18/Aug/17 ]

Author:

{'username': 'RedBeard0531', 'email': 'mathias@10gen.com', 'name': 'Mathias Stearn'}

Message: SERVER-28964 Close connection after seeing invalid OP_MSG flags
Branch: master
https://github.com/mongodb/mongo/commit/5f85627971603bf9f5c832f9d4ca2808b31b0efd

Comment by Githook User [ 13/Jun/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-28964 Make mongos behavior on invalid OP_MSG match mongod

This is a stopgap solution to address some fuzzer build failures until
SERVER-28964 is complete.
Branch: master
https://github.com/mongodb/mongo/commit/43fd2b628154bd643dde616f6fb363412829efda

Comment by Githook User [ 13/Jun/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-28964 Make mongos behavior on invalid OP_MSG match mongod

This is a stopgap solution to address some fuzzer build failures until
SERVER-28964 is complete.
Branch: master
https://github.com/mongodb/mongo/commit/43fd2b628154bd643dde616f6fb363412829efda

Generated at Thu Feb 08 04:19:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.