SSL_write reurns SSL3_WRITE_PENDING

View: New views
4 Messages — Rating Filter:   Alert me  

SSL_write reurns SSL3_WRITE_PENDING

by sandeep.kumar17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
I am getting some error in SSL_write(). Error is:
error:1409F07F:SSL routines: SSL3_WRITE_PENDING:bad write retry  
 
Can anyone help me to fix this. Any workaround is also appreciated.
I am using 0.9.8g openssl version
 
Thanks

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


RE: SSL_write reurns SSL3_WRITE_PENDING

by JoelKatz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

 

                Did you forget to set SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER? Or are you presenting an inconsistent view of the data stream to SSL? For example, if you go to send “foo” to an SSL connection and only one byte is sent, your next send *must* start with “oo”.

 

                DS

 

 

From: owner-openssl-users@... [mailto:owner-openssl-users@...] On Behalf Of sandeep.kumar17@...
Sent: Wednesday, November 04, 2009 3:01 AM
To: openssl-users@...; openssl-dev@...
Subject: SSL_write reurns SSL3_WRITE_PENDING

 

Hi,

 

I am getting some error in SSL_write(). Error is:

error:1409F07F:SSL routines: SSL3_WRITE_PENDING:bad write retry  

 

Can anyone help me to fix this. Any workaround is also appreciated.

I am using 0.9.8g openssl version

 

Thanks

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


RE: SSL_write reurns SSL3_WRITE_PENDING

by sandeep.kumar17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
 
I tried after setting mode SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER.    Still I am facing the same problem.
It is successfully transmitting data of more than 2000 bytes but consistently giving problem in sending 166 bytes.
After failing once it never succeds and we have to terminate the connection.
 
Thanks
 
 


From: owner-openssl-dev@... [mailto:owner-openssl-dev@...] On Behalf Of David Schwartz
Sent: Wednesday, November 04, 2009 9:48 PM
To: openssl-users@...; openssl-dev@...
Subject: RE: SSL_write reurns SSL3_WRITE_PENDING

 

                Did you forget to set SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER? Or are you presenting an inconsistent view of the data stream to SSL? For example, if you go to send “foo” to an SSL connection and only one byte is sent, your next send *must* start with “oo”.

 

                DS

 

 

From: owner-openssl-users@... [mailto:owner-openssl-users@...] On Behalf Of sandeep.kumar17@...
Sent: Wednesday, November 04, 2009 3:01 AM
To: openssl-users@...; openssl-dev@...
Subject: SSL_write reurns SSL3_WRITE_PENDING

 

Hi,

 

I am getting some error in SSL_write(). Error is:

error:1409F07F:SSL routines: SSL3_WRITE_PENDING:bad write retry  

 

Can anyone help me to fix this. Any workaround is also appreciated.

I am using 0.9.8g openssl version

 

Thanks

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


RE: SSL_write reurns SSL3_WRITE_PENDING

by JoelKatz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> I tried after setting mode SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER.
> Still I am facing the same problem.
> It is successfully transmitting data of more than 2000 bytes
> but consistently giving problem in sending 166 bytes.
> After failing once it never succeds and we have to terminate the
connection.

Are you sure you are presenting a consistent picture of the outbound byte
stream? If you send "foo" and only 1 byte transfers, your next write *must*
begin with "oo". You may not change your mind with SSL like you can with
TCP.

DS



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@...
Automated List Manager                           majordomo@...