[IRCServices] PING before connect?

Andrew Church achurch at achurch.org
Fri May 6 11:11:32 PDT 2005


     Fixed, thanks for the report.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>Whilst testing a new module we are currently developing, we decided (to 
>save time), to connect IRCServices across the internet, rather than locally.
>
>We ran into the problem of services sending a PING to the remote server 
>BEFORE it was connected, resulting in an ENOTCONN, and Services bailing.
>
>Surely the correct behaviour for this, is that services shouldn't 
>attempt to ping, untill at least the SERVER command has been sent on 
>initial connect? Would avoid this issue.
>
>Log:
>
>[Apr 29 22:01:54.046189 2005] debug: Loaded modules
>[Apr 29 22:01:54.049901 2005] Initiated connection to xx.xxx.xxx.xxx:7025
>[Apr 29 22:01:54.052287 2005] sockets: flush_write_buffer(4): Socket is 
>not connected
>[Apr 29 22:01:54.053649 2005] debug: Sent: PING 
>:services-dev.chatspike.net
>[Apr 29 22:01:57.059300 2005] debug: Saving databases
>[Apr 29 22:01:57.071440 2005] Read error from server: Socket is not 
>connected
>
>--
>On an un-related note.. is the coding mailing list down? the last mail i 
>sent to it never arrived :/
>
>-- 
>/****************************************
>  *     Craig "FrostyCoolSlug" McLure
>  *       Craig at FrostyCoolSlug.com
>  * InspIRCd   - http://www.inspircd.org
>  * ChatSpike  - http://www.chatspike.net
>  ****************************************/
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://lists.ircservices.za.net/mailman/listinfo/ircservices