VirtualBox

Changeset 36543 in vbox for trunk/src/VBox/Main/webservice


Ignore:
Timestamp:
Apr 4, 2011 5:40:22 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70971
Message:

Main/webservice: must use a recv/send timeout, otherwise connection keepalive can result in keeping all workers "busy" with idle connections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r36399 r36543  
    490490               cThreads);
    491491
     492        // Ensure that we don't get stuck indefinitely for connections using
     493        // keepalive, otherwise stale connections tie up worker threads.
     494        m_soap->send_timeout = 60;
     495        m_soap->recv_timeout = 60;
    492496        // process the request; this goes into the COM code in methodmaps.cpp
    493497        soap_serve(m_soap);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette