0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

138 Commits

Author SHA1 Message Date
dwight
a5a05a8bae errno doesnt work with winsock, handle 2010-07-07 17:36:23 -04:00
Eliot Horowitz
85ee9d5f90 fix linux compile 2010-07-04 08:30:59 -04:00
Eliot Horowitz
8eb88a0f6e oops - #if != #ifdef 2010-07-04 08:18:41 -04:00
Eliot Horowitz
1d1d36c424 better windows limit 2010-07-04 08:13:31 -04:00
Eliot Horowitz
09031b917f cut off new connections based on fd limit 2010-07-04 08:09:19 -04:00
Mathias Stearn
ae2aa8a245 Static destruction order fix SERVER-1276 2010-07-01 17:46:06 -04:00
dwight
c5ab124c45 missing closesocket in miniwebserver edge case 2010-06-26 22:32:12 -04:00
Eliot Horowitz
fd974724b9 remove extern 2010-06-22 12:51:43 -04:00
Alberto Lerner
df33cf69bc Correct indentation 2010-06-22 09:08:36 -07:00
Alberto Lerner
a124e197a2 Linux changes timeout parameter 2010-06-22 09:05:32 -07:00
Eliot Horowitz
140d8a4254 fast tracking of rough time passage 2010-06-22 06:08:28 -04:00
Eliot Horowitz
21ad005a96 track elapsed time in Listener 2010-06-22 05:59:44 -04:00
Mathias Stearn
4a7cedf9d6 fix build 2010-06-03 20:11:11 -04:00
Mathias Stearn
6a3199b14f Exit if can't bind to port SERVER-1141 2010-06-03 19:29:40 -04:00
Mathias Stearn
7b933846b1 missmatched new[] / delete 2010-05-27 20:46:48 -04:00
Dwight Merriman
a190583c51 MutexDebugger 2010-05-26 00:46:49 -04:00
Aaron
df75203993 SERVER-109 Message only use vector when necessary 2010-05-21 12:34:22 -07:00
Aaron
dad28843bd SERVER-109 enhance multi buffer message 2010-05-18 22:09:03 -07:00
Aaron
d107ff9d0f Merge branch 'master' of github.com:mongodb/mongo 2010-05-18 17:17:51 -07:00
Dwight
c33904ddfb name threads 2010-05-18 12:17:43 -04:00
Aaron
b55098dd80 SERVER-109 windows multi send fallback 2010-05-17 17:26:44 -07:00
Aaron
14114b403e SERVER-109 reinstate sendmsg 2010-05-17 10:02:02 -07:00
Aaron
4ac5ac7345 SERVER-109 fix multi send issue in commented code 2010-05-13 15:07:23 -07:00
Aaron
2b4eaa9488 SERVER-109 temp compile win 2010-05-13 11:21:05 -07:00
Aaron
501b8d4d66 SERVER-109 temp compile win 2010-05-13 11:09:22 -07:00
Aaron
7efe88f445 SERVER-109 multi buffer message 2010-05-12 15:26:00 -07:00
Mathias Stearn
3e8304b411 better handling when can't delete socket file 2010-05-03 14:30:41 -04:00
Eliot Horowitz
5bd568f0be select() change broke USR1 2010-05-02 22:23:43 -04:00
Dwight Merriman
577afd2756 boost can now be at \boost on windows; various vs2010 vcproj make clenaup 2010-04-29 10:52:37 -04:00
Dwight Merriman
164095778e elim some 64 bit warnings etc. 2010-04-28 19:39:21 -04:00
Eliot Horowitz
92b48ea825 whatsmyuri support for mongos 2010-04-27 16:49:22 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Dwight Merriman
0c7e5438e0 get rid of macros in log.h 2010-04-24 14:03:14 -04:00
Dwight
b3347b10d7 rs 2010-04-20 15:30:37 -04:00
Eliot Horowitz
dff285ac2d clean up shutdown 2010-04-08 21:40:28 -04:00
Aaron
1007c905b0 Merge branch 'master' of github.com:mongodb/mongo 2010-04-08 13:38:23 -07:00
Mathias Stearn
0efadc48e9 Disable IPv6 by default. Add function and cmdline opt to enable. 2010-04-08 15:15:35 -04:00
Aaron
1b0b94cb9c SERVER-832 use send/recv timeouts 2010-04-08 12:14:20 -07:00
Eliot Horowitz
8dbbef7267 cleaning Listener and don't log ever http connect 2010-04-07 09:34:14 -04:00
Eliot Horowitz
0c9d1b4284 Merge branch 'master' of git@github.com:mongodb/mongo 2010-04-06 09:36:23 -04:00
Eliot Horowitz
4acaab52a7 an assert 2010-04-06 09:36:16 -04:00
Mathias Stearn
0f2e939810 windows fix 2010-04-05 19:25:01 -04:00
Mathias Stearn
df4874f9a8 support listening on multiple sockets.
Defaults to all IPv4 and all IPv6 addresses and a unix socket.
SERVER-866 SERVER-859 SERVER-408
2010-04-05 18:26:17 -04:00
Dwight
1f928b9e5a compile err 2010-04-05 17:30:59 -04:00
Dwight
89a3d0db82 towards storage engine pluggability 2010-04-05 17:26:40 -04:00
Mathias Stearn
66a489efcc Combine init() and listen() 2010-04-05 10:52:38 -04:00
Mathias Stearn
61e921730c Make Listener register socket with ListeningSockets 2010-04-05 10:52:38 -04:00
Mathias Stearn
163c040888 Make MiniWebServer inherit from Lister 2010-04-05 10:52:38 -04:00
Mathias Stearn
5a30852961 Stop recycling SockAddrs 2010-04-02 21:28:55 -04:00
Mathias Stearn
a9382d41f0 Unix socket support (must use --nohttpinterface for now) SERVER-866 2010-04-02 19:26:13 -04:00
Mathias Stearn
b6744bbde6 Replace hardcoded AF_INET with calls to getType() 2010-04-02 19:26:13 -04:00
Eliot Horowitz
6f7f0a92c3 close Listener closing 2010-04-02 14:20:20 -04:00
Mathias Stearn
b03cc0e07d Privatize SockAddr::sa. Banish use of sockaddr_in outside of SockAddr class 2010-04-02 13:21:27 -04:00
Aaron
c971842a55 Revert "Revert "SERVER-695 don't destroy static global mutexes""
This reverts commit eb7cde3e75.

Conflicts:

	db/instance.h
2010-03-15 09:42:01 -07:00
Eliot Horowitz
3e36fa8fd4 defensive MINOR 2010-02-26 14:42:11 -05:00
Eliot Horowitz
a4e79e80c2 make sure to use flags for all send/recv ops 2010-02-12 11:07:57 -05:00
Eliot Horowitz
ddd617b35a don't try and accept sockets after socket is closed 2010-02-07 15:41:52 -05:00
Mathias Stearn
70b7968668 Pulling atomic functionality from WrappingInt to AtomicUInt. More atomic functions. 2010-01-25 19:33:10 -05:00
Dwight
3f6cb1fdcd browser error msg 2010-01-15 12:52:07 -05:00
Aaron
530c24aa55 MINOR print conflicting port in bind failure log 2010-01-11 18:18:06 -08:00
Eliot Horowitz
ce00f71bd4 log() space MINOR 2010-01-10 02:20:37 +01:00
Eliot Horowitz
bf939ef985 help people trying to access http on driver port 2010-01-02 21:41:35 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
8f1e01b0e4 macro for errno so messages are consistent and have full debugging 2009-12-21 10:06:14 -05:00
Eliot Horowitz
d6c69369c0 make quiet suppress connection warnings SERVER-455 2009-12-03 22:44:34 -05:00
Mathias Stearn
7133196d6b Make OID and MSGID increments atomic 2009-12-01 19:29:08 -05:00
Eliot Horowitz
c72e870657 debugging for SHARDING-40 and SERVER-440 2009-12-01 12:25:48 -05:00
Eliot Horowitz
314d24240c cleaning 2009-11-24 15:42:52 -05:00
Eliot Horowitz
0f5848f398 better message debugging 2009-11-24 13:55:46 -05:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Dwight
1083a425c2 ThreadLocalInt prettier 2009-10-13 12:55:23 -04:00
Eliot Horowitz
4df046f5b0 getClientId() 2009-09-14 11:33:35 -04:00
Eliot Horowitz
335d92c443 client id work and make getLastError work non sharded-collections in sharding, but with connection pooling SHARDING-16 2009-09-11 16:14:14 -04:00
Dwight
879e7b153e more CmdLine object 2009-08-25 14:35:22 -04:00
Eliot Horowitz
846911b421 add connection number to accepted message 2009-08-04 14:00:59 -04:00
Eliot Horowitz
5514c49e39 make lognoquiet and make --quit not print connect/disconnect 2009-06-05 10:35:04 -04:00
Dwight
4a64d52c9c BUG SERVER-79
ports variable wasn't thread safe
2009-06-01 14:20:49 -04:00
Aaron
661bce250b inclode strerror in recv error message MINOR 2009-05-04 11:17:26 -04:00
Aaron
7d720f1f33 add 'bind_ip' option to bind listener only to requested local interface 2009-04-29 14:14:51 -04:00
Aaron
47067f6b4e stop listener on EBADF errorno 2009-04-17 10:37:42 -04:00
Aaron
aa5309a68b print error description, test timeout MINOR 2009-04-06 16:21:56 -04:00
Aaron
ed35b0874c Close listener sockets on exit 2009-04-01 12:26:31 -04:00
Eliot Horowitz
df4a8dbf55 doesOpGetAResponse 2009-03-17 17:24:38 -04:00
Aaron
b936cb2c97 objcheck validates every bson object read from a message 2009-03-13 12:07:00 -04:00
Eliot Horowitz
8a711dc649 nextMessageId function and valid() method on MsgData 2009-03-02 09:57:22 -05:00
Aaron
6df7d02ce8 Don't create string unless we're actually going to log 2009-02-19 12:03:15 -05:00
Eliot Horowitz
6d48156c23 throw exception when socket fails 2009-02-03 16:48:12 -05:00
Eliot Horowitz
3aa74384ae grid/message -> util/message 2009-02-03 13:30:28 -05:00