Hello -
I'm writing a servlet to allow large-file uploads (with ranges and
resume). One issue I noticed was that if the range is invalid (I do the
checks in doPut), and I return a 416, the client (curl in this case)
continues to upload the body (possibly gigabytes of data that will be
discarded) because tomcat already sent the 100-continue.
Maybe I could just force the connection to close somehow, but I'd like to
respond with the 416 instead of tomcat's immediate 100-continue. Is there
a way to override the 100-continue behaviour so I can perform the checks
and return 100 or 416 myself?
If not, how could I force the connection to close immediately?
thanks,
--craig
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]