Home
last modified time | relevance | path

Searched refs:BEV_EVENT_CONNECTED (Results 1 – 13 of 13) sorted by relevance

/libevent-2.1.12/
H A Dbufferevent.c158 if ((bufev_private->eventcb_pending & BEV_EVENT_CONNECTED) && in bufferevent_run_deferred_callbacks_locked()
162 bufev_private->eventcb_pending &= ~BEV_EVENT_CONNECTED; in bufferevent_run_deferred_callbacks_locked()
163 bufev->errorcb(bufev, BEV_EVENT_CONNECTED, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
195 if ((bufev_private->eventcb_pending & BEV_EVENT_CONNECTED) && in bufferevent_run_deferred_callbacks_unlocked()
201 bufev_private->eventcb_pending &= ~BEV_EVENT_CONNECTED; in bufferevent_run_deferred_callbacks_unlocked()
202 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
H A Dbufferevent_sock.c274 BEV_EVENT_CONNECTED, 0); in bufferevent_writecb()
279 BEV_EVENT_CONNECTED, 0); in bufferevent_writecb()
H A Dbufferevent_openssl.c934 } else if (what & BEV_EVENT_CONNECTED) { in be_openssl_eventcb()
1044 BEV_EVENT_CONNECTED, 0); in do_handshake()
H A Dbufferevent_async.c453 be_async_run_eventcb(bev, ok ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR, 0); in connect_complete()
H A Dhttp.c1562 } else if (what == BEV_EVENT_CONNECTED) { in evhttp_error_cb()
1581 if (!(what & BEV_EVENT_CONNECTED)) { in evhttp_connection_cb()
H A DChangeLog-2.01040 …o When we send a BEV_EVENT_CONNECTED to indicate connected status, we no longer invoke the write c…
/libevent-2.1.12/test/
H A Dtest-fdleak.c195 if (events & BEV_EVENT_CONNECTED) { in client_event_cb()
H A Dregress_ssl.c372 if (what & BEV_EVENT_CONNECTED) { in eventcb()
850 if (what & BEV_EVENT_CONNECTED) { in wm_eventcb()
H A Dregress_dns.c1229 if ((what & BEV_EVENT_CONNECTED) || (what & BEV_EVENT_ERROR)) { in be_connect_hostname_event_cb()
1361 tt_int_op(be_outcome[1].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1363 tt_int_op(be_outcome[2].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1365 tt_int_op(be_outcome[3].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
H A Dtest-ratelim.c154 if (what & BEV_EVENT_CONNECTED) { in write_on_connectedcb()
H A Dregress_bufferevent.c690 if (what & BEV_EVENT_CONNECTED) { in reader_eventcb()
H A Dregress_http.c307 if (what & BEV_EVENT_CONNECTED) in http_errorcb()
3077 if (what & BEV_EVENT_CONNECTED) in http_incomplete_errorcb()
3181 if (what & BEV_EVENT_CONNECTED) in http_chunked_errorcb()
/libevent-2.1.12/include/event2/
H A Dbufferevent.h105 #define BEV_EVENT_CONNECTED 0x80 /**< connect operation finished. */ macro