marcelnicolay/mongotor — pull request #48 by tahajahangir (2014-12-02 07:49:15+00:00)
Title: Fix invalid 32bit int range for request_id

Request id should be in range [-2^31, 2^31 - 1] not [-2^31 - 1, 2^31]

This is the traceback:
```
....
File "lib/python2.7/site-packages/mongotor/cursor.py", line 77, in find
self._skip, self._limit, self._query_spec(), self._fields)
File "lib/python2.7/site-packages/mongotor/message.py", line 105, in query
return __pack_message(2004, data)
File "lib/python2.7/site-packages/mongotor/message.py", line 49, in __pack_message
message += struct.pack("