|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74368 readTimeout not use in readFrame() function
Submitted: 2017-04-04 09:19 UTC Modified: -
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: luc dot doan92 at gmail dot com Assigned:
Status: Open Package: stomp (PECL)
PHP Version: 5.6.30 OS: ubuntu
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:
41 - 9 = ?
Subscribe to this entry?

 [2017-04-04 09:19 UTC] luc dot doan92 at gmail dot com
The variables _read_timeout_seconds and _read_timeout_milliseconds are not used in the function readFrame() of Connection.php file

Problem: Stomp::setReadTimeout does nothing

Solution: Add to line 609
stream_set_timeout($this->_socket, $this->_read_timeout_seconds, $this->_read_timeout_milliseconds); 



setReadTimeout_for_readFrame_function (last revision 2017-04-17 20:20 UTC by luc dot doan92 at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 13:03:37 2021 UTC