Bug 387991 - curl+NSS doesn't work in non-blocking mode
Summary: curl+NSS doesn't work in non-blocking mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: secondlife
TreeView+ depends on / blocked
 
Reported: 2007-11-17 01:48 UTC by Rob Crittenden
Modified: 2013-07-02 23:24 UTC (History)
2 users (show)

Fixed In Version: 7.17.1-1.fc8
Clone Of:
Environment:
Last Closed: 2007-11-20 18:06:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rob Crittenden 2007-11-17 01:48:36 UTC
Description of problem:

curl with NSS as the SSL engine doesn't work with Second Life. The only
information is a crypto authentication error. It works fine with curl + OpenSSL.

Version-Release number of selected component (if applicable):

curl-7.16.4-8.fc7.src.rpm

How reproducible:

Every time

Steps to Reproduce:
1. Build Second Life dependencies (openjpeg and xmlrpc-epi) from
https://bugzilla.redhat.com/show_bug.cgi?id=233946
2. Build Second Life
3. secondlife --channel "Second Life Open Source [Fedora]"
  
Actual results:

You'll get an auth failure amongst some very verbose output. See this for the
complete message:

https://lists.secondlife.com/pipermail/sldev/2007-November/006674.html

Expected results:

Log in to the game world.

Additional info:

Comment 1 Rob Crittenden 2007-11-17 01:53:03 UTC
It was a one-line patch. The NSS engine in curl was failing to set the SSL
availability flag on the socket when nonblocking sockets. curl was reading and
writing to some unknown place but it wasn't the NSS socket.

A srpm with a patch can be found at
http://rcritten.fedorapeople.org/curl-7.16.4-9.fc7.src.rpm

Comment 2 Callum Lerwick 2007-11-19 23:33:29 UTC
This appears to fix it. Please merge, as Second Life is unusable without it.

Comment 3 Jindrich Novy 2007-11-20 09:52:50 UTC
Update for this is filed for F8 and pending.

Comment 4 Fedora Update System 2007-11-20 18:06:47 UTC
curl-7.17.1-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.