[mythtv-firehose] mythtv branch master updated by stuartm. v0.28-pre-2290-g0a0872e

Git Repo Owner noreply at mythtv.org
Sat Oct 11 01:05:56 UTC 2014

The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  0a0872ea0dc15690446455819f569a38cf202642 (commit)
      from  2c07537d2367850db0eafdc40c67546425790455 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0a0872ea0dc15690446455819f569a38cf202642
Author:    Stuart Morgan <smorgan at mythtv.org> at Sat, 11 Oct 2014 00:59:11 +0100
Committer: Stuart Morgan <smorgan at mythtv.org> at Sat, 11 Oct 2014 02:05:48 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0a0872ea0dc15690446455819f569a38cf202642

HTTP: Fix the socket being closed before all bytes were read by client
We were writing to the QTcpSocket and then calling
waitForBytesWritten() with the assumption that this would only return
once all the written bytes had been read from the socket by the
client. This wasn't actually the case and this could lead to the
socket being closed before the full response was sent.

Now we wait until all pending data has been sent before closing the


Summary of changes:
 mythtv/libs/libmythupnp/httprequest.cpp |    1 -
 mythtv/libs/libmythupnp/httpserver.cpp  |   17 +++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)


More information about the mythtv-firehose mailing list