Changeset 48281 in vbox for trunk/src/VBox/Main/webservice
- Timestamp:
- Sep 4, 2013 6:23:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/vboxweb.cpp
r48279 r48281 451 451 * @param s Socket from soap_accept() which has work to do. 452 452 */ 453 size_t add(SO CKET s)453 size_t add(SOAP_SOCKET s) 454 454 { 455 455 size_t cItems; … … 493 493 * @return 494 494 */ 495 SO CKET get(size_t &cIdleThreads, size_t &cThreads)495 SOAP_SOCKET get(size_t &cIdleThreads, size_t &cThreads) 496 496 { 497 497 while (1) … … 503 503 if (m_llSocketsQ.size()) 504 504 { 505 SO CKET socket = m_llSocketsQ.front();505 SOAP_SOCKET socket = m_llSocketsQ.front(); 506 506 m_llSocketsQ.pop_front(); 507 507 cIdleThreads = --m_cIdleThreads; … … 543 543 // A std::list abused as a queue; this contains the actual jobs to do, 544 544 // each int being a socket from soap_accept() 545 std::list<SO CKET>m_llSocketsQ;545 std::list<SOAP_SOCKET> m_llSocketsQ; 546 546 }; 547 547 … … 856 856 // avoid EADDRINUSE on bind() 857 857 858 SO CKET m, s; // master and slave sockets858 SOAP_SOCKET m, s; // master and slave sockets 859 859 m = soap_bind(&soap, 860 860 g_pcszBindToHost ? g_pcszBindToHost : "localhost", // safe default host
Note:
See TracChangeset
for help on using the changeset viewer.