<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5964">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">http.c:  Reduce log spam<br><br>Messages like "fwrite() failed: Connection reset by peer" are no<br>help whatsoever, especially since they can be caused simply by a<br>client disconnecting.<br><br>* Make those WARNINGs DEBUGs.<br><br>Change-Id: I17bd5f3621514152a7b2b263c801324c5e96568b<br>---<br>M main/http.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/64/5964/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/http.c b/main/http.c<br>index ea85a28..2c483dc 100644<br>--- a/main/http.c<br>+++ b/main/http.c<br>@@ -532,7 +532,7 @@<br>        if (send_content && fd) {<br>             while ((len = read(fd, buf, sizeof(buf))) > 0) {<br>                   if (ast_iostream_write(ser->stream, buf, len) != len) {<br>-                           ast_log(LOG_WARNING, "fwrite() failed: %s\n", strerror(errno));<br>+                            ast_debug(1, "fwrite() failed: %s\n", strerror(errno));<br>                             close_connection = 1;<br>                                 break;<br>                        }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5964">change 5964</a>. To unsubscribe, 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/5964"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I17bd5f3621514152a7b2b263c801324c5e96568b </div>
<div style="display:none"> Gerrit-Change-Number: 5964 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>