RE: High CPU usage on dial-up connections

2005-07-31 Thread Christopher Fowler
On Sun, 2005-07-31 at 15:23 -0700, David Schwartz wrote: > Most likely you are using non-blocking sockets and spinning, waiting for > data to be received or sent. Broadband connections empty the buffers faster, > so you spend time waiting for handoffs rather than buffers. Profile and see > w

RE: High CPU usage on dial-up connections

2005-07-31 Thread David Schwartz
> Hi, > > I have a problem using OpenSSL on Windows platform. Version 0.9.7g and > 0.9.8. > > I created a simple file transfer application which transfers files > between two computers using SSL connection. This is a multithreaded > application and the file transfer separated to an other thread i

RE: High CPU usage on dial-up connections

2005-07-31 Thread Ted Mittelstaedt
Get a real modem. Your probably using a winmodem which does all the host processing in the computer CPU. Also, encrypted data isn't very compressible so you should turn off both ppp and "hardware" compression. Many winmodems upchuck when you try to run them with hardware compression disabled.

WSAAsyncSelect and new handshake

2005-07-31 Thread Peter Berghmans
Hello,   I'm working on a project that requires secure communication. The client is a GUI  written in C++ and Windows, so I'm processing WM_* window messages and would like to handle network communication in the main thread by means of the WSAAsyncSelect() system call and OpenSSL. Does anybo

Fragmentation in handshake with session

2005-07-31 Thread Nadav Golombick
Hi, Sorry for posting the message again, but I desperately need an answer. I was wondering how OpenSSL will handle a situation where the final stream of data, received during a session resume handshake, contains also encrypted data. This scenario is not possible for a new session, but it can occur

High CPU usage on dial-up connections

2005-07-31 Thread Matyas Majzik
Hi, I have a problem using OpenSSL on Windows platform. Version 0.9.7g and 0.9.8. I created a simple file transfer application which transfers files between two computers using SSL connection. This is a multithreaded application and the file transfer separated to an other thread in this appli