<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5962">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, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/62/5962/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/http.c b/main/http.c<br>index cccc60b..536d81c 100644<br>--- a/main/http.c<br>+++ b/main/http.c<br>@@ -531,7 +531,7 @@<br> * behave exactly as documented.<br> */<br> if (fwrite(ast_str_buffer(out), ast_str_strlen(out), 1, ser->f) != 1) {<br>- ast_log(LOG_ERROR, "fwrite() failed: %s\n", strerror(errno));<br>+ ast_debug(1, "fwrite() failed: %s\n", strerror(errno));<br> close_connection = 1;<br> }<br> }<br>@@ -546,7 +546,7 @@<br> * behave exactly as documented.<br> */<br> if (fwrite(buf, len, 1, ser->f) != 1) {<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/5962">change 5962</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/5962"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </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: 5962 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>