[SERVER-25272] Use WinInet instead of libcurl on Windows Created: 25/Jul/16  Updated: 02/Sep/16  Resolved: 17/Aug/16

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

Type: Task Priority: Major - P3
Reporter: Daniel Gottlieb (Inactive) Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Sprint: Platforms 18 (08/05/16), Platforms 2016-08-26
Participants:

 Description   

libcurl should already exist on the evergreen images, so this is just about adding it to the package.

See https://jira.mongodb.org/browse/BUILD-1865?focusedCommentId=1333309&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1333309 for expected code pieces that need changing.



 Comments   
Comment by Githook User [ 17/Aug/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-25272 Use WinInet for HTTP Blockstore requests on Windows
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/9594a73e3628254eeec3c718d99392f9844efefb

Comment by Daniel Gottlieb (Inactive) [ 08/Aug/16 ]

Talked offline. We're going to give Winlnet a go.

Comment by Mark Benvenuto [ 08/Aug/16 ]

daniel.gottlieb Should we just change the Windows implementation to use the WinInet library instead? This would avoid adding a third party library on WIndows. It should not be hard to do at all.

Comment by Mark Benvenuto [ 04/Aug/16 ]

We need to build a version of curl with MSVC 2015. It do not need OpenSSL according to daniel.gottlieb.

Comment by Hannes Magnusson [ 02/Aug/16 ]

https://evergreen.mongodb.com/task_log_raw/mongo_c_driver_windows_2013_test_latest_server_noauth_sasl_nossl_e8c5e929bcf3920112bc59dc0aafdcfb70032cae_16_08_02_03_50_52/0?type=T

 [2016/08/01 21:13:35.106] + mv mongodb-win32-x86_64-enterprise-windows-64-3.3.10-231-g3666300 mongodb
 [2016/08/01 21:13:35.115] + chmod -R +x mongodb
 [2016/08/01 21:13:35.205] + ./mongodb/bin/mongod --version
 [2016/08/01 21:13:35.236] C:/data/mci/cbba1f58538571bbd7d58e54805938aa/mongoc/mongodb/bin/mongod.exe: error while loading shared libraries: libcurl.dll: cannot open shared object file: No such file or directory
 [2016/08/01 21:13:35.243] Command failed: exit status 127
 [2016/08/01 21:13:35.243] Task completed - FAILURE.

Generated at Thu Feb 08 04:08:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.