Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dftplib.py58 class error_reply(Error): pass # unexpected [123]xx reply class
261 raise error_reply(resp)
369 raise error_reply(resp)
382 raise error_reply(resp)
418 raise error_reply(resp)
603 raise error_reply(resp)
612 raise error_reply(resp)
820 raise error_reply(resp)
839 raise error_reply(resp)
858 raise error_reply(resp)
[all …]
/third_party/nghttp2/src/
Dshrpx_http2_upstream.cc205 if (upstream->error_reply(downstream, 431) != 0) { in on_header_callback2()
356 if (error_reply(downstream, 501) != 0) { in on_request_headers()
402 if (error_reply(downstream, 400) != 0) { in on_request_headers()
424 if (error_reply(downstream, 400) != 0) { in on_request_headers()
435 if (error_reply(downstream, 500) != 0) { in on_request_headers()
479 rv = error_reply(downstream, 502); in initiate_downstream()
505 if (error_reply(downstream, 500) != 0) { in initiate_downstream()
523 if (error_reply(downstream, 502) != 0) { in initiate_downstream()
779 if (upstream->error_reply(ptr, 500) != 0) { in on_frame_send_callback()
1266 if (error_reply(downstream, 502) != 0) { in downstream_read()
[all …]
Dshrpx_https_upstream.cc721 error_reply(status_code); in on_read()
849 error_reply(502); in downstream_read()
908 error_reply(502); in downstream_eof()
945 error_reply(status); in downstream_error()
1027 void HttpsUpstream::error_reply(unsigned int status_code) { in error_reply() function in shrpx::HttpsUpstream
1119 error_reply(500); in on_downstream_header_complete()
1132 error_reply(500); in on_downstream_header_complete()
1374 error_reply(status_code); in on_downstream_abort_request()
1390 error_reply(400); in redirect_to_https()
1396 error_reply(400); in redirect_to_https()
Dshrpx_http3_upstream.cc975 rv = error_reply(downstream, status_code); in on_downstream_abort_request()
1024 if (error_reply(downstream, 502) != 0) { in downstream_read()
1108 if (error_reply(downstream, 502) != 0) { in downstream_eof()
1164 if (error_reply(downstream, status) != 0) { in downstream_error()
1251 if (error_reply(downstream, 500) != 0) { in on_downstream_header_complete()
1267 if (error_reply(downstream, 500) != 0) { in on_downstream_header_complete()
2114 if (error_reply(downstream, 431) != 0) { in http_recv_request_header()
2202 if (error_reply(downstream, 501) != 0) { in http_end_request_headers()
2250 if (error_reply(downstream, 400) != 0) { in http_end_request_headers()
2270 if (error_reply(downstream, 400) != 0) { in http_end_request_headers()
[all …]
Dshrpx_https_upstream.h66 void error_reply(unsigned int status_code);
Dshrpx_http2_upstream.h71 int error_reply(Downstream *downstream, unsigned int status_code);
Dshrpx_http3_upstream.h112 int error_reply(Downstream *downstream, unsigned int status_code);
/third_party/nghttp2/examples/
Dlibevent-server.c441 static int error_reply(nghttp2_session *session, in error_reply() function
544 if (error_reply(session, stream_data) != 0) { in on_request_recv()
552 if (error_reply(session, stream_data) != 0) { in on_request_recv()
561 if (error_reply(session, stream_data) != 0) { in on_request_recv()
/third_party/python/Lib/test/
Dtest_ftplib.py522 exceptions = (ftplib.error_reply, ftplib.error_temp, ftplib.error_perm,
542 self.assertRaises(ftplib.error_reply, self.client.voidcmd, 'echo 199')
543 self.assertRaises(ftplib.error_reply, self.client.voidcmd, 'echo 300')
554 self.assertRaises(ftplib.error_reply, self.client.rename, 'a', 'b')
559 self.assertRaises(ftplib.error_reply, self.client.delete, 'foo')
815 self.assertRaises(ftplib.error_reply, ftplib.parse257, '250 "/foo/bar"')
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new_handlers.c2231 DBusMessage *error_reply; in wpas_dbus_handler_tdls_discover() local
2234 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0) in wpas_dbus_handler_tdls_discover()
2235 return error_reply; in wpas_dbus_handler_tdls_discover()
2265 DBusMessage *error_reply; in wpas_dbus_handler_tdls_setup() local
2268 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0) in wpas_dbus_handler_tdls_setup()
2269 return error_reply; in wpas_dbus_handler_tdls_setup()
2329 DBusMessage *error_reply; in wpas_dbus_handler_tdls_teardown() local
2332 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0) in wpas_dbus_handler_tdls_teardown()
2333 return error_reply; in wpas_dbus_handler_tdls_teardown()
2485 DBusMessage *error_reply; in wpas_dbus_handler_tdls_cancel_channel_switch() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new_handlers.c2597 DBusMessage *error_reply; in wpas_dbus_handler_tdls_discover() local
2600 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0) in wpas_dbus_handler_tdls_discover()
2601 return error_reply; in wpas_dbus_handler_tdls_discover()
2631 DBusMessage *error_reply; in wpas_dbus_handler_tdls_setup() local
2634 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0) in wpas_dbus_handler_tdls_setup()
2635 return error_reply; in wpas_dbus_handler_tdls_setup()
2695 DBusMessage *error_reply; in wpas_dbus_handler_tdls_teardown() local
2698 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0) in wpas_dbus_handler_tdls_teardown()
2699 return error_reply; in wpas_dbus_handler_tdls_teardown()
2851 DBusMessage *error_reply; in wpas_dbus_handler_tdls_cancel_channel_switch() local
[all …]
/third_party/python/Doc/library/
Dftplib.rst135 .. exception:: error_reply
252 200--299) is received. Raise :exc:`error_reply` otherwise.
325 server does not recognize the ``REST`` command, an :exc:`error_reply` exception
383 :exc:`error_reply` on other errors.
/third_party/nghttp2/doc/sources/
Dtutorial-server.rst551 404 response using ``error_reply()``. Otherwise, we open