[SERVER-9704] break out socket "library" and use it to initialize Windows sockets Created: 15/May/13  Updated: 02/Jun/17  Resolved: 02/Jun/17

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

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-11637 Make libraries composable Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We need this for sasl unit tests.



 Comments   
Comment by Andrew Morrow (Inactive) [ 02/Jun/17 ]

This seems more or less obsolete given the changes to networking and library structure since the time it was filed. Please feel free to re-open if this is still something you need.

Comment by Shaun Verch [ 23/May/14 ]

There's a socket test here that links with just "libnetwork.a", "libsynchronization.a", and "libunittest_crutch.a": https://github.com/mongodb/mongo/blob/master/src/mongo/SConscript#L211

Would that work, or is there a specific dependency still there that you need to remove?

Comment by Eric Milkie [ 23/May/14 ]

I want a networking library that I can simply link to a unit test and have it work on Windows. Initializing windows sockets in a mongo_initializer won't fully achieve that alone.

Comment by Shaun Verch [ 23/May/14 ]

It seems like the creation of the library is taken care of by https://github.com/mongodb/mongo/commit/44680ab9. milkie, is that true? Should I change the name of this ticket to "Initialize windows sockets in MONGO_INITIALIZER rather than statically"?

Comment by auto [ 23/May/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: Revert "SERVER-9704 break out socket init for Windows"

This reverts commit 1a21ab350155db13fac0938114dc0b9c8ef81fb9.
Going to wait until C++ driver changes have made this easier to acheive.
Branch: master
https://github.com/mongodb/mongo/commit/23a185462b83a4f0f7ea5f3ada89ff819313c992

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-9704 fix compile
Branch: master
https://github.com/mongodb/mongo/commit/cd3548f66b33f019e5c42dbf02d96d4ccf839789

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-9704 break out socket init for Windows
Branch: master
https://github.com/mongodb/mongo/commit/1a21ab350155db13fac0938114dc0b9c8ef81fb9

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-9704 break out socket init for Windows
Branch: master
https://github.com/mongodb/mongo/commit/1a21ab350155db13fac0938114dc0b9c8ef81fb9

Generated at Thu Feb 08 03:21:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.