VirtualBox

Changeset 31192 in vbox


Ignore:
Timestamp:
Jul 29, 2010 7:53:24 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64187
Message:

webservice: Treat 8bit strings as UTF-8, not ASCII.

File:
1 edited

Legend:

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

    r31171 r31192  
    253253         * which is important to avoid a client from holding a thread indefinitely.
    254254         * http://www.cs.fsu.edu/~engelen/soapdoc2.html#sec:keepalive
     255         *
     256         * Strings with 8-bit content can hold ASCII (default) or UTF8. The latter is
     257         * possible by enabling the SOAP_C_UTFSTRING flag.
    255258         */
    256         soap_set_omode(m_soap, SOAP_IO_KEEPALIVE);
    257         soap_set_imode(m_soap, SOAP_IO_KEEPALIVE);
     259        soap_set_omode(m_soap, SOAP_IO_KEEPALIVE|SOAP_C_UTFSTRING);
     260        soap_set_imode(m_soap, SOAP_IO_KEEPALIVE|SOAP_C_UTFSTRING);
    258261        m_soap->max_keep_alive = g_cMaxKeepAlive;
    259262
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