- Timestamp:
- Apr 28, 2016 3:47:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/generic/USBProxyBackendUsbIp.cpp
r60744 r60745 523 523 else if (rc == VERR_NET_SHUTDOWN || rc == VERR_BROKEN_PIPE) 524 524 { 525 Log RelMax(10,("USB/IP: Lost connection to host \"%s\", trying to reconnect...\n", m->pszHost));525 Log(("USB/IP: Lost connection to host \"%s\", trying to reconnect...\n", m->pszHost)); 526 526 disconnect(); 527 527 rc = VINF_SUCCESS; … … 685 685 rc = RTTcpSetSendCoalescing(m->hSocket, false); 686 686 if (RT_FAILURE(rc)) 687 LogRel (("USB/IP: Disabling send coalescing failed (rc=%Rrc), continuing nevertheless but expect increased latency\n", rc));687 LogRelMax(5, ("USB/IP: Disabling send coalescing failed (rc=%Rrc), continuing nevertheless but expect increased latency\n", rc)); 688 688 689 689 rc = RTPollSetAddSocket(m->hPollSet, m->hSocket, RTPOLL_EVT_READ | RTPOLL_EVT_ERROR, … … 695 695 } 696 696 else 697 Log Rel(("USB/IP:Connected to host \"%s\"\n", m->pszHost));697 LogFlowFunc(("Connected to host \"%s\"\n", m->pszHost)); 698 698 } 699 699 … … 833 833 RT_N2H_U16(m->Scratch.RetDevList.u16Version), RT_N2H_U16(m->Scratch.RetDevList.u16Cmd), 834 834 RT_N2H_U32(m->Scratch.RetDevList.u32Status))); 835 rc = VERR_INVALID_STATE; 835 /* Disconnect and start over. */ 836 advanceState(kUsbIpRecvState_None); 837 disconnect(); 838 rc = VERR_NET_SHUTDOWN; 836 839 } 837 840 break;
Note:
See TracChangeset
for help on using the changeset viewer.