Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 153508 Details for
Bug 234926
Review Request: ngircd - Next Generation IRC Daemon
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
update to the writebuf patch
ngircd-0.10.1-writebuf-stupidity.diff (text/plain), 1.01 KB, created by
Nigel Jones
on 2007-04-26 13:14:05 UTC
(
hide
)
Description:
update to the writebuf patch
Filename:
MIME Type:
Creator:
Nigel Jones
Created:
2007-04-26 13:14:05 UTC
Size:
1.01 KB
patch
obsolete
>diff -ru ngircd-0.10.1.old/src/ngircd/conn.c ngircd-0.10.1/src/ngircd/conn.c >--- ngircd-0.10.1.old/src/ngircd/conn.c 2006-07-24 11:05:20.000000000 +1200 >+++ ngircd-0.10.1/src/ngircd/conn.c 2007-04-27 01:11:32.000000000 +1200 >@@ -642,8 +642,11 @@ > * zu schreiben, wenn das nicht klappt, haben wir ein Problem ... */ > if( ! Handle_Write( Idx )) return false; > >- /* check again: if our writebuf is twice als large as the initial limit: Kill connection */ >- if( array_bytes(&My_Connections[Idx].wbuf) >= (WRITEBUFFER_LEN*2)) { >+ if( array_bytes(&My_Connections[Idx].wbuf) >= (WRITEBUFFER_LEN*2)) >+ Log(LOG_WARNING, "Write buffer exceeds %lu bytes", (unsigned long) array_bytes(&My_Connections[Idx].wbuf)); >+ >+ /* check again: if our writebuf is 128 times as large as the initial limit: Kill connection */ >+ if( array_bytes(&My_Connections[Idx].wbuf) >= (WRITEBUFFER_LEN*128)) { > Log( LOG_NOTICE, "Write buffer overflow (connection %d)!", Idx ); > Conn_Close( Idx, "Write buffer overflow!", NULL, false ); > return false;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234926
: 153508