Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 51315 invoked from network); 3 Feb 2000 16:03:06 -0000 Received: from adsl-63-198-47-229.dsl.snfc21.pacbell.net (HELO costin.dnt.ro) (63.198.47.229) by 63.211.145.10 with SMTP; 3 Feb 2000 16:03:06 -0000 Received: from localhost (costin [63.198.47.229]) by costin.dnt.ro (8.9.3+Sun/8.9.1) with ESMTP id IAA28081 for ; Thu, 3 Feb 2000 08:03:03 -0800 (PST) From: costin@eng.sun.com Date: Thu, 3 Feb 2000 00:04:45 -0800 (PST) To: tomcat-dev@jakarta.apache.org Subject: Re: Few minor Q's for a ServerConnector In-Reply-To: <3899A2DC.19EB46DB@lincom-asg.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 3 Feb 2000, Bob Jamison wrote: > 1: Is implementing ServerConnector, getting the ContextManager > from the setContextManager() call, and naming the Connector in server.xml, > sufficient to bind the Connector to the rest of Tomcat to process > Requests? I -think- it is, just want to make sure before I go down the > wrong path. We can add some magic words :-) ( you can get config parameters in setProperty if you need to ). > 2: On the Apache side, is the call: > > ap_get_client_block(requestPtr,buffer,buffer_length); > > the proper place to get the information to feed the input stream > of a RequestImpl? (For PUTs and POSTs) Should work. > 3: On the Apache side again, is the call: > > ap_write(write_buf,buf_length,requestPtr); > the proper destination for the servletOutputStream of the ResponseImpl? Yes. Costin