Stalled SSL Connections

19 views
Skip to first unread message

Joseph

unread,
Aug 1, 2008, 10:52:57 AM8/1/08
to nzbperl
I saw a post about this earlier, but there was no resolution. I
thought I'd bring it up again since it's giving me problems too.

When I set nzbperl to use SSL, it would download a segment on each
connection and then stall. When I quit, I got a segmentation fault. A
little googling told me that NET::SSLeay isn't threadsafe, so I set
threading to 0 and tried again. The segfault has gone away, but it
still hangs after pulling in the first segment.

The first time I tried it, I was using 5 connections. Two of the files
were only a single segment each, and one was actually written to disk.
When I removed that file from the nzb and set the connections down to
1, the first file that it tried to get was also a single segment, but
it would not write to disk.

I've been looking through the source code, but there's a lot to
digest. Can anybody give me a good starting point for where to look?

Joseph
Reply all
Reply to author
Forward
0 new messages