Changeset 70105 in vbox for trunk/src/VBox
- Timestamp:
- Dec 13, 2017 10:34:32 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119653
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r70090 r70105 6689 6689 alock.release(); 6690 6690 6691 /* Limit the chunk size to 32K for now, as that gives better performance 6692 * over (XP)COM, and keeps the SOAP reply size under 1M for the webservice. 6693 * One byte expands to approx. 25 bytes of breathtaking XML. */ 6694 size_t cbData = (size_t)RT_MIN(aSize, 32768); 6691 /* Limit the chunk size to 512K. Gives good performance over (XP)COM, and 6692 * keeps the SOAP reply size under 1M for the webservice (we're using 6693 * base64 encoded strings for binary data for years now, avoiding the 6694 * expansion of each byte array element to approx. 25 bytes of XML. */ 6695 size_t cbData = (size_t)RT_MIN(aSize, _512K); 6695 6696 aData.resize(cbData); 6696 6697
Note:
See TracChangeset
for help on using the changeset viewer.