I'd like it if this could make it into o.a.c.Processor as well. Since
Costin has done a lot of work on this in 3.3, I'd like to make it settable
(with a default of true), and if it is in Processor I don't have to resort
to introspection.
It's not a big deal, since the introspection tools are good. If you feel
that this isn't going to stay around long, I can live with the introspection
solution.
----- Original Message -----
From: <remm@apache.org>
To: <jakarta-tomcat-connectors-cvs@apache.org>
Sent: Saturday, March 09, 2002 11:05 AM
Subject: cvs commit:
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11
Http11Processor.java InternalInputBuffer.java
> remm 02/03/09 11:05:35
>
> Modified: http11/src/java/org/apache/coyote/http11
> Http11Processor.java InternalInputBuffer.java
> Log:
> - Port the tricks used by the old HTTP/1.1 connector to optimize
handling
> of the US-ASCII parts of the HTTP header (method + protocol + header
names
> + URI in most cases).
> - Note: The handling of the URI is probably not very satisfactory, but
until the
> servlet container can handle a byte-based URL, there's no point in
being fancy.
>
> Revision Changes Path
> 1.6 +20 -0
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Pro
cessor.java
>
> Index: Http11Processor.java
> ===================================================================
> RCS file:
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11
/Http11Processor.java,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -r1.5 -r1.6
> --- Http11Processor.java 9 Mar 2002 05:20:03 -0000 1.5
> +++ Http11Processor.java 9 Mar 2002 19:05:35 -0000 1.6
> @@ -249,6 +249,26 @@
>
>
> /**
> + * Get the value of the internationalized URI flag.
> + *
> + * @return the value of the internationalized URI flag
> + */
> + public boolean isInternationalizedURIAllowed() {
> + return inputBuffer.isInternationalizedURIAllowed();
> + }
> +
> +
> + /**
> + * Set the value of the internationalized URI flag.
> + *
> + * @param flag New value of the internationalized URI flag
> + */
> + public void setInternationalizedURIAllowed(boolean flag) {
> + inputBuffer.setInternationalizedURIAllowed(flag);
> + }
> +
> +
> + /**
> * Process pipelined HTTP requests using the specified input and
output
> * streams.
> *
>
>
>
--
To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
|