Changeset 76761 in vbox
- Timestamp:
- Jan 10, 2019 7:49:43 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128080
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/vboxweb.cpp
r76553 r76761 617 617 m_soap->send_timeout = 60; 618 618 m_soap->recv_timeout = 60; 619 // Limit the maximum SOAP request size to a generous amount, just to 620 // be on the safe side (SOAP is quite wordy when representing arrays, 621 // and some API uses need to deal with large arrays). Good that binary 622 // data is no longer represented by byte arrays... 623 m_soap->recv_maxlength = _16M; 619 624 // process the request; this goes into the COM code in methodmaps.cpp 620 625 do { … … 1929 1934 } 1930 1935 1931 if (pfnAuthEntry3 || pfnAuthEntry2 || pfnAuthEntry) 1936 if (strlen(pcszUsername) >= _1K) 1937 { 1938 LogRel(("Access denied, excessive username length: %zu\n", strlen(pcszUsername))); 1939 rc = VERR_WEB_NOT_AUTHENTICATED; 1940 } 1941 else if (strlen(pcszPassword) >= _1K) 1942 { 1943 LogRel(("Access denied, excessive password length: %zu\n", strlen(pcszPassword))); 1944 rc = VERR_WEB_NOT_AUTHENTICATED; 1945 } 1946 else if (pfnAuthEntry3 || pfnAuthEntry2 || pfnAuthEntry) 1932 1947 { 1933 1948 const char *pszFn;
Note:
See TracChangeset
for help on using the changeset viewer.