Open GoogleCodeExporter opened 9 years ago
See
https://github.com/mongodb/mongo/blob/master/src/mongo/util/net/message_port.cpp
// If responseTo is not 0 or -1 for first packet assume SSL
In order to make insert work the responseTo field of the header must be 0 or -1
otherwise the server expects SSL encrypted data
Fix:
hdr.responseTo:=0;
Original comment by svpant...@gmail.com
on 23 Feb 2015 at 2:38
Thanks.
Original comment by panthera...@gmail.com
on 27 Feb 2015 at 10:54
Hi Peb,
You are welcome. Thank you for making your code available! I have been
playing with it and found it quite well put together. It is also a
simpler alternative to the original Delphi driver from 10gen, which
relies on an external library (from a C driver). I also made a few
changes of my own (e.g., to use the FPC json parser rather than the one
you had originally, replaced synapse dependency with basic TCP socket
calls) and fixed a few bugs and added some functionality - I am not sure
if you were interested in maybe merging some of these changes into your
original version of the library.
Anyway thank you again.
PS: I have read on FPC list serv that google code will be closing. I am
sure you are aware of that and was wondering whether you are going to
move the source code somewhere else. Alternatively, have you considered
donating it to the FPC project? The MIT license you published it with is
certainly compatible with FPC and FPC license.
Original comment by svpant...@gmail.com
on 14 Mar 2015 at 5:49
Original issue reported on code.google.com by
panthera...@gmail.com
on 31 Aug 2014 at 12:50