[SERVER-20077] requestId field of message header should always be a signed integer Created: 21/Aug/15 Updated: 14/Apr/16 Resolved: 17/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.4 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Adam Midvidy | Assignee: | Waley Chen |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 12 (04/01/16) |
| Participants: |
| Description |
|
In the wire protocol documentation we specify that requestId and responseTo are int32_t. In MsgData::ConstView, we declare the return type of getId() and getResponseTo() to be of type MSGID, which is a typedef of uint32_t. We should either remove the MSGID typedef or change it to be int32_t. |
| Comments |
| Comment by Githook User [ 17/Mar/16 ] |
|
Author: {u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}Message: |