php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54439 SSL/OpenSSL broken
Submitted: 2011-04-01 10:53 UTC Modified: 2013-02-18 00:34 UTC
Votes:20
Avg. Score:4.2 ± 0.9
Reproduced:17 of 18 (94.4%)
Same Version:7 (41.2%)
Same OS:12 (70.6%)
From: paigeat at paigeat dot info Assigned:
Status: No Feedback Package: OpenSSL related
PHP Version: 5.3.6 OS: linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-04-01 10:53 UTC] paigeat at paigeat dot info
Description:
------------
---
From manual page: http://www.php.net/function.fwrite#Description
---
Warning: fwrite() [function.fwrite]: SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown

Test script:
---------------
in /home/erratic/domains/cl.devel.ws/public_html/include/xpm/PHP5/SMTP5.php on line 222

source code download: http://downloads.sourceforge.net/xpertmailer/XPM4-v.0.5.zip


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-01 13:15 UTC] cataphract@php.net
-Status: Open +Status: Feedback -Type: Security +Type: Bug -Package: *General Issues +Package: OpenSSL related
 [2011-04-01 13:15 UTC] cataphract@php.net
Changed bug meta-data.

Also, this doesn't necessarily mean a problem in PHP. More information is needed, namely how to reproduce this problem (linking to a library is not enough).
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 [2013-02-21 13:59 UTC] ashok975 at hotmail dot com
fwrite(): SSL: Broken pipe
fwrite(): SSL operation failed with code 1. OpenSSL Error messages:
error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry
 [2013-06-27 01:01 UTC] php dot net at walterheck dot com
This is not a bug afaik, you just need to retry the SSL_write call. More info 
here: http://stackoverflow.com/questions/2997218/why-am-i-getting-
error1409f07fssl-routinesssl3-write-pending-bad-write-retr
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Aug 05 00:01:23 2021 UTC