[asterisk-bugs] [Asterisk 0010279]: [patch] Make 'agi_network: yes' show up with agi debugging on (and handle partial writes)

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 30 14:19:35 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10279 
====================================================================== 
Reported By:                seanbright
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10279
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 76711 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             07-23-2007 20:47 CDT
Last Modified:              07-30-2007 14:19 CDT
====================================================================== 
Summary:                    [patch] Make 'agi_network: yes' show up with agi
debugging on (and handle partial writes)
Description: 
Simple patch that will print "agi_network: yes" to the CLI when doing AGI
debugging and also handle partial writes to the FastAGI by calling fdprintf
(which just calls ast_carefulwrite) instead of write() directly.  Patch for
trunk and for 1.4 attached.
====================================================================== 

---------------------------------------------------------------------- 
 juggie - 07-30-07 14:19  
---------------------------------------------------------------------- 
from -dev mailing list:

Missed an assignment:

-       ast_carefulwrite(fd, stuff, strlen(stuff), 100);
+       res = ast_carefulwrite(fd, stuff, strlen(stuff), 100);

Sean 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-30-07 14:19  juggie         Note Added: 0068080                          
======================================================================




More information about the asterisk-bugs mailing list