Normalize stack size to KB.
authorScott Cantor <cantor.2@osu.edu>
Fri, 22 Jan 2010 03:23:14 +0000 (03:23 +0000)
committerScott Cantor <cantor.2@osu.edu>
Fri, 22 Jan 2010 03:23:14 +0000 (03:23 +0000)
shibsp/remoting/impl/SocketListener.cpp

index f588bea..50aa95b 100644 (file)
@@ -174,7 +174,7 @@ SocketListener::SocketListener(const DOMElement* e)
         static const XMLCh stackSize[] = UNICODE_LITERAL_9(s,t,a,c,k,S,i,z,e);
         const XMLCh* attr = e ? e->getAttributeNS(NULL, stackSize) : NULL;
         if (attr && *attr)
-            m_stackSize = XMLString::parseInt(attr);
+            m_stackSize = XMLString::parseInt(attr) * 1024;
     }
 }