-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: libbson
I noticed while making static builds of libbson for libmongocrypt that we have a dependency in libbson for ws_32.lib on windows, so it can provide gethostname. As I suspected, this was being used for ObjectId generation. The recently written ObjectId specification no longer requires a hostname, so this can be dropped from the libbson implementation. I think it would make the library even more portable.