|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2023 The PHP Group
All rights reserved.
Last updated: Mon Jan 30 03:03:59 2023 UTC