MCPcopy Create free account
hub / github.com/acl-dev/acl / on_close_server

Function on_close_server

app/jaws/module/mod_http/http_proxy.c:1021–1031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1019/* ����������ر�ʱ�Ļص����� */
1020
1021static int on_close_server(ACL_ASTREAM *server acl_unused, void *ctx)
1022{
1023 HTTP_CLIENT *http_client = (HTTP_CLIENT*) ctx;
1024
1025 /* ȡ���������������״̬ */
1026 http_client->flag &= ~HTTP_FLAG_SERVER_LOCKED;
1027 http_client->flag |= HTTP_FLAG_SERVER_CLOSED | HTTP_FLAG_FINISH;
1028 http_proxy_complete(http_client, -1);
1029 /* ���뷵�� -1, ��Ϊ��ϣ���������������Ĺرջص����� */
1030 return (-1);
1031}
1032
1033static int http_proxy_connect_complete(CLIENT_ENTRY *entry)
1034{

Callers

nothing calls this directly

Calls 1

http_proxy_completeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…