pike.git / lib / modules / Protocols.pmod / EngineIO.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/EngineIO.pmod:521:    private void rclose() {    close();    state = RCLOSING;    m_delete(clients, sid);    }       private void clearcallback() {    close_cb = 0;    read_cb = 0; // Sort of a race, if multithreading    id = 0; // Delete all references to this Socket -  conn = 0; +  upgtransport = conn = 0;    }       private void recv(int type, void|string|Stdio.Buffer msg) {   #ifndef EIO_DEBUGMORE    if (type!=SENDQEMPTY)   #endif    PD("Received %s %c:%O\n", sid, type, (string)msg);    switch (type) {    default: // Protocol error or CLOSE    close();