Hi Olivier,

The diff is as attached.

thanks,
Joy

--- Olivier Jacques <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> thanks for this. Could you re-send the code by doing
> diff -bruN sipp.cpp mysipp.cpp > out.diff
> 
> Thanks,
> Olivier.
> Katty Xiong wrote:
> > Hi Olivier,
> >
> > I have been debuging the problem that SIPp gets
> broken
> > pipe error with high load. 
> > The cause for this problem is: Solaris defines
> > MSG_DONTWAIT option, but the option does not
> support 
> > non-blocking send(). As a result, the blocking
> send()
> > causes deadlock between SIPp and SER.
> >
> > I am not sure how to contribute the code, but the
> > following code fix this problem in Solaris. 
> >
> > bash-3.00# diff sipp.cpp mysipp.cpp
> > 38a39,40
> >   
> >> #define solaris
> >>
> >>     
> > 489,490c491,494
> > < #ifdef MSG_DONTWAIT
> > <   return send(s, msg, len, flags |
> MSG_DONTWAIT);
> > ---
> >   
> >> #if defined (MSG_DONTWAIT)
> >> #       ifdef solaris
> >> #           define B_TYPE 1
> >> #       endif
> >>     
> > 491a496,499
> >   
> >> #       define B_TYPE 1
> >> #endif
> >>
> >> #ifdef B_TYPE
> >>     
> > 505a514,515
> >   
> >> #else
> >>         return send(s, msg, len, flags |
> >>     
> > MSG_DONTWAIT); 
> >
> > Thanks
> > Joy
> >
> >   
> 
> 
> -- 
> Olivier
> HP OpenCall Software
> http://www.hp.com/go/opencall/
> 
> 


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

Attachment: out.diff
Description: 2252908986-out.diff

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to