Hi everyone,
I've stumbled across a little problem here:
I've got a streaming client (right now its using either libcurl or
apache httpclient via HTTP 1.1 chunked transfer without a content
length) that connects to a servlet on a tomcat server and uploads
data. Now the problem is that if something is wrong (eg. I want to
revoke that users right to stream) there doesn't seem a way to
prevent the user from continuing the upload. That doesn't seem
possible in Tomcat. I've tried sending an error header, closing the
Input/Output streams, without success. Just closing the socket would
already be enough.
Worse even, the users access has to be verified, but Tomcat just
sends the 100 Continue header which pretty much tells the user to
start uploading, altough the servlet hasn't been executed yet so
neither the access nor the additional query parameters could be
verified.
So the questions are:
- Is there any way to close a connection to a client to prevent it
from continuing the upload?
- Is there any way to prevent the 100 Continue from sending?
I'm using Tomcat 6.
Best regards and thank you for your time,
Volker
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]