<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">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. &nbsp;The service is defined as:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#646464">@POST</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#646464">@Consumes</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#2A00FF">&quot;*/*&quot;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">)</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#646464">@Path</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#2A00FF">&quot;/Receive/{videoId}&quot;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">)</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#7F0055">public</span></b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> Response receiveVideo(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#646464">@PathParam</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#2A00FF">&quot;videoId&quot;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">)
 String </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#6A3E3E">videoId</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">, InputStream
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#6A3E3E">content</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">)</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">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?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks, David<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:3.0pt;margin-right:0in;margin-bottom:2.0pt;margin-left:0in">
<b><span style="font-family:&quot;Arial&quot;,sans-serif;color:#004B8D">David R Robison<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-bottom:2.0pt"><i><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Senior Systems Engineer</span></i><i><span style="font-size:10.0pt;color:black"><o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-bottom:2.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">O. &#43;1
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">512 247 3700</span><span style="font-size:10.0pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.0pt"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">M. &#43;1 757 286 0022<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.0pt"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><a href="mailto:david.robison@psgglobal.net"><span style="color:#0563C1">david.robison@psgglobal.net</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt"><b><span style="font-size:10.0pt"><a href="http://www.psgglobal.net/"><span style="color:blue">www.psgglobal.net</span></a></span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:10.0pt"><img border="0" width="130" height="1" style="width:1.3583in;height:.0125in" id="Straight_x0020_Connector_x0020_47" src="cid:image001.png@01D1E656.15FAD0F0" alt="cid:image003.png@01D19182.F24CA3E0"></span><span style="font-size:10.0pt;color:#004B8D"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:3.0pt;margin-right:0in;margin-bottom:2.0pt;margin-left:0in">
<b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#004B8D">Prometheus Security Group Global, Inc.<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-bottom:2.0pt"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">3019 Alvin Devane Boulevard</span><span style="font-size:10.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.0pt"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Building 4, Suite 450<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.0pt"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Austin, TX 78741<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt"><span style="font-size:10.0pt"><img border="0" width="130" height="1" style="width:1.3583in;height:.0125in" id="Straight_x0020_Connector_x0020_14" src="cid:image001.png@01D1E656.15FAD0F0" alt="cid:image003.png@01D19182.F24CA3E0"></span><span style="font-size:10.0pt;color:#004B8D"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>