[jboss-user] [JBossWS] - Re: http://org.jboss.ws/http#chunksize
centecbertl
do-not-reply at jboss.com
Tue Feb 5 05:19:28 EST 2008
"Ratoo" wrote :
| "heiko.braun at jboss.com" wrote :
| | HTTP 1.0 Client Did you try that one?
| |
|
| Where is it? How can I configure it?
|
You can use the tomcat Connector configuration to achieve this. Example given for jboss 4.0.5 restricts .net 2.0 clients to use HTTP 1.0:
| $ diff -U 5 server.xml~ server.xml
| --- server.xml~ 2006-12-06 16:03:28.403259700 +0100
| +++ server.xml 2006-12-16 10:18:38.265625000 +0100
| @@ -11,16 +11,18 @@
| <!-- A HTTP/1.1 Connector on port 8080 -->
| <Connector port="8080" address="${jboss.bind.address}"
| maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
| emptySessionPath="true"
| enableLookups="false" redirectPort="8443" acceptCount="100"
| - connectionTimeout="20000" disableUploadTimeout="true"/>
| + connectionTimeout="20000" disableUploadTimeout="true"
| + restrictedUserAgents="^.*MS Web Services Client Protocol.*$"/>
|
| <!-- Add this option to the connector to avoid problems with
| .NET clients that don't implement HTTP/1.1 correctly
| restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$"
| -->
| +
|
| <!-- A AJP 1.3 Connector on port 8009 -->
| <Connector port="8009" address="${jboss.bind.address}"
| emptySessionPath="true" enableLookups="false" redirectPort="8443"
| protocol="AJP/1.3"/>
| @@ -29,11 +31,12 @@
| <Connector port="8443" address="${jboss.bind.address}"
| maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
| emptySessionPath="true"
| scheme="https" secure="true" clientAuth="false"
| keystoreFile="${jboss.server.home.dir}/conf/centec.keystore"
| - keystorePass="centec" sslProtocol = "TLS" />
| + keystorePass="centec" sslProtocol = "TLS"
| + restrictedUserAgents="^.*MS Web Services Client Protocol.*$"/>
| <!-- -->
|
| <Engine name="jboss.web" defaultHost="localhost">
|
| <!-- The JAAS based authentication and authorization realm implementation
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126500#4126500
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126500
More information about the jboss-user
mailing list