<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Sorry for being dense. I am just not understanding clearly the<br>terminology being used. I know I still have lots to learn. I tried<br>looking up "seperated HTTP request" and am not finding anything. I<br>was just trying to clarify what you meant rather than assuming what<br>it is that you are doing. If I understand correctly, you are<br>trying to make sure Asterisk receives the entire body before moving<br>on. Is that correct?</p><p style="white-space: pre-wrap; word-wrap: break-word;">There is a comment that the stream is in exclusive mode. Will this<br>change have side affects when receiving the message body slowly? <br>Especially if you are increasing the acceptable limit on the<br>content's length.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">When the message body is received slowly this will cause the current thread to wait for the message body to be received. That shouldn't be an issue since the current thread should below to that specific HTTP connection. So if we have 'Content-Length: 8192' we might only receive 4k of the body in one call to ast_iostream_read, the other 4k in the next call.</p><p style="white-space: pre-wrap; word-wrap: break-word;">From what I can tell the exclusive mode only causes ast_iostream_read to retry if zero bytes have been received. It does not cause ast_iostream_read to keep trying if we received less than requested. Currently if we're reading from a slower connection if we don't get the entire body in the first read the HTTP request is failed and we close the connection.</p><p><a href="https://gerrit.asterisk.org/10869">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10869">change 10869</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10869"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I48a401aa64a21c3b37bf3cb4e0486d64b7dd8aa1 </div>
<div style="display:none"> Gerrit-Change-Number: 10869 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: sungtae kim <pchero21@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Michael L. Young <elgueromexicano@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: sungtae kim <pchero21@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 11 Jan 2019 03:32:44 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>