Changeset 5446 in vbox
- Timestamp:
- Oct 23, 2007 3:50:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxNetworkFramework.cpp
r5093 r5446 138 138 virtual void run() 139 139 { 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 0148 };149 150 140 try 151 141 { 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 152 152 conn.request ("POST", mUrl.ascii(), headers, 0, 0); 153 153 while (conn.outstanding())
Note:
See TracChangeset
for help on using the changeset viewer.