I just joined in on this list. Specifically because I am having a bit of trouble using OpenSSL.
So here I go and thanks in advance for any help resulting because of this message.
I am programming an Internet daemon that is using SSL for the connections. Basically, I can reduce
my problem to only one statement: My daemon doesnt send the data I send with BIO_puts() untill the
whole output buffer is full (I believe it to be around 1024). I would need it to send it instantly.
Also, BIO_flush() just doesnt work either...
I am really out of clues on this one... if anybody needs code Ill be happy to post it.
Also, I have tried the SSL++ class found in http://www.total-knowledge.com/progs/sslpp/ which looks like a
nice try to wrap the SSL engine. I havent had any luck with it. It looks abandoned (last update was more
than a year ago) and is still in pre-alfa or something like that. The CSSLServer object connects the first
client okay but when the client exits (with a Ctrl-C in the client) the server goes crazy and just displays
getservbyname() failed around the screen (along with the text "system library") telling it failed. The
only way to stop it was Ctrl-C, this time on the server...
Well, hope I didnt mess ideas up in this post. As I said, its my first post on this list so please
take it easy with me. I dont know SSL but I am fluent in C and C++.
I just found out how to create my certificate and key =o)
Thanking in advance,
Rodrigo
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org
> I am programming an Internet daemon that is using SSL for the connections. Basically, I can reduce
> my problem to only one statement: My daemon doesnt send the data I send with BIO_puts() untill the
> whole output buffer is full (I believe it to be around 1024). I would need it to send it instantly.
> Also, BIO_flush() just doesnt work either...
>
> I am really out of clues on this one... if anybody needs code Ill be happy to post it.
Hmmm... When I need the stuff I just wrote with BIO_puts() to go
immediately, I follow the BIO_puts() with a BIO_flush(). It works
for me on Linux and Solaris.
Are you checking all of the return codes? Perhaps if you posted
enough of your code to show what you're doing, someone will have a
suggestion?
Paul Allen
--
Boeing Phantom Works \ Paul L. Allen, (425) 865-3297
Math & Computing Technology \ paul.l...@boeing.com
POB 3707 M/S 7L-40, Seattle, WA 98124-2207 \ Prototype Systems Group
On Apr 28, 2004, at 3:46 PM, Rodrigo Madera wrote:
> Also, BIO_flush() just doesnt work either...
______________________________________________________________________
Where do I find a SSL Terminal program to test? Like a simple
client or so. I am now trying to build one but maybe I get up
with errors in it that could be spared using a ready-made-and-
tested one.
Regards,
Rodrigo
----- Original Message -----
From: "Paul L. Allen" <paul.l...@boeing.com>
Date: Wed, 28 Apr 2004 15:56:21 -0700
To: openss...@openssl.org
Subject: Re: BIO_flush() wont flush!
> Rodrigo Madera wrote:
>
> > I am programming an Internet daemon that is using SSL for the connections. Basically, I can reduce
> > my problem to only one statement: My daemon doesnt send the data I send with BIO_puts() untill the
> > whole output buffer is full (I believe it to be around 1024). I would need it to send it instantly.
> > Also, BIO_flush() just doesnt work either...
> >
> > I am really out of clues on this one... if anybody needs code Ill be happy to post it.
>
> Hmmm... When I need the stuff I just wrote with BIO_puts() to go
> immediately, I follow the BIO_puts() with a BIO_flush(). It works
> for me on Linux and Solaris.
>
> Are you checking all of the return codes? Perhaps if you posted
> enough of your code to show what you're doing, someone will have a
> suggestion?
>
> Paul Allen
>
> --
> Boeing Phantom Works \ Paul L. Allen, (425) 865-3297
> Math & Computing Technology \ paul.l...@boeing.com
> POB 3707 M/S 7L-40, Seattle, WA 98124-2207 \ Prototype Systems Group
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List openss...@openssl.org
> Automated List Manager majo...@openssl.org
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
______________________________________________________________________
It worked!! The client I was using to test is broken!!
Thanks to all you folks. Specially Paul Allen (nice
computer industry name, huh? =o)
Thank you,
Rodrigo