Changeset 0db6618 for protocols


Ignore:
Timestamp:
2015-10-26T08:28:10Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
345577b
Parents:
4e365ce
git-author:
dequis <dx@…> (26-10-15 08:18:51)
git-committer:
dequis <dx@…> (26-10-15 08:28:10)
Message:

Use proxy_disconnect() in http, ssl, jabber, oscar

Twitter and MSN are all HTTP/SSL, so they don't need it either.

The out of tree facebook and steam plugins are also covered by the
HTTP/SSL changes.

Yahoo is written in a weird way and doesn't seem to need it (it seems it
doesn't immediately stop connections when you tell it to logout)

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r4e365ce r0db6618  
    345345        }
    346346        if (jd->fd >= 0) {
    347                 closesocket(jd->fd);
     347                proxy_disconnect(jd->fd);
    348348        }
    349349
  • protocols/oscar/conn.c

    r4e365ce r0db6618  
    317317
    318318        if (deadconn->fd >= 3) {
    319                 closesocket(deadconn->fd);
     319                proxy_disconnect(deadconn->fd);
    320320        }
    321321        deadconn->fd = -1;
Note: See TracChangeset for help on using the changeset viewer.