[undertow-dev] Question regarding max-post-size

David Robison david.robison at psgglobal.net
Mon Jul 25 09:22:38 EDT 2016


I have created a REST interface that receives a continuous stream of JPEGs from a video decoder for the purpose of writing then to a disk file.  The service is defined as:

@POST
@Consumes("*/*")
@Path("/Receive/{videoId}")
public Response receiveVideo(@PathParam("videoId") String videoId, InputStream content)

Everything works fine up until it reaches the max-post-size and then the connection is terminated. Is there any way to disable the max-post-size when streaming video to a REST interface?

Thanks, David

David R Robison
Senior Systems Engineer
O. +1 512 247 3700
M. +1 757 286 0022
david.robison at psgglobal.net<mailto:david.robison at psgglobal.net>
www.psgglobal.net<http://www.psgglobal.net/>

Prometheus Security Group Global, Inc.
3019 Alvin Devane Boulevard
Building 4, Suite 450
Austin, TX 78741


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20160725/eed1dd9a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 247 bytes
Desc: image001.png
Url : http://lists.jboss.org/pipermail/undertow-dev/attachments/20160725/eed1dd9a/attachment.png 


More information about the undertow-dev mailing list