|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77606 _stomp_recv blocking when data is in SSL buffer
Submitted: 2019-02-11 22:14 UTC Modified: -
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dwarren at prodpartners dot com Assigned:
Status: Open Package: stomp (PECL)
PHP Version: Irrelevant OS: CentOS 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
39 + 13 = ?
Subscribe to this entry?

 [2019-02-11 22:14 UTC] dwarren at prodpartners dot com
_stomp_recv can incorrectly block on the underlying file descriptor when the remainder of the frame is waiting in the OpenSSL buffer.  This causes read_frame to block until the timeout even though the data has already been returned.

Stomp version is 2.0.2 compiled with "./configure --with-openssl-dir".  PHP is 7.1.9, and OpenSSL is 1.0.2k-fips.

Patch attached fixes the problem on my system.


stomp-2.0.2-sslfix (last revision 2019-02-11 22:14 UTC by dwarren at prodpartners dot com)

Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Nov 29 14:04:16 2022 UTC