mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-29 00:46:17 +02:00
timeout
git-svn-id: svn://elaine/murooma/trunk@315 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
d8a02e5e73
commit
fd3b671633
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ shared_ptr<SerializedMessage> ClientConnection::sendRequest(BaseMessage* message
|
||||||
if (++reqId == 100)
|
if (++reqId == 100)
|
||||||
reqId = 1;
|
reqId = 1;
|
||||||
message->id = reqId;
|
message->id = reqId;
|
||||||
cout << "Req: " << reqId << "\n";
|
//cout << "Req: " << reqId << "\n";
|
||||||
shared_ptr<PendingRequest> pendingRequest(new PendingRequest(reqId));
|
shared_ptr<PendingRequest> pendingRequest(new PendingRequest(reqId));
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -130,7 +130,7 @@ cout << "Req: " << reqId << "\n";
|
||||||
{
|
{
|
||||||
response = pendingRequest->response;
|
response = pendingRequest->response;
|
||||||
timeouts = 0;
|
timeouts = 0;
|
||||||
cout << "Resp: " << pendingRequest->id << "\n";
|
//cout << "Resp: " << pendingRequest->id << "\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue