VirtualBox

Changeset 5446 in vbox


Ignore:
Timestamp:
Oct 23, 2007 3:50:24 PM (17 years ago)
Author:
vboxsync
Message:

At least one, reproducible, crash fixed.
Issue appears in case of network problems (firewall intercepting the request, 80 port blocked, etc...).
It related to HappyHTTP network-problem exception (appeared after socket creation but before connection is finished).

Note: Reproducible only in release build[-type].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxNetworkFramework.cpp

    r5093 r5446  
    138138        virtual void run()
    139139        {
    140             HConnect conn (mHost, 80);
    141             conn.setcallbacks (onBegin, onData, onFinish, mProc);
    142             const char *headers[] =
    143             {
    144                 "Connection", "close",
    145                 "Content-type", "application/x-www-form-urlencoded",
    146                 "Accept", "text/plain",
    147                 0
    148             };
    149 
    150140            try
    151141            {
     142                HConnect conn (mHost, 80);
     143                conn.setcallbacks (onBegin, onData, onFinish, mProc);
     144                const char *headers[] =
     145                {
     146                    "Connection", "close",
     147                    "Content-type", "application/x-www-form-urlencoded",
     148                    "Accept", "text/plain",
     149                    0
     150                };
     151
    152152                conn.request ("POST", mUrl.ascii(), headers, 0, 0);
    153153                while (conn.outstanding())
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