MCPcopy Create free account
hub / github.com/dillo-browser/dillo / Cache_null_client

Function Cache_null_client

src/cache.c:1107–1122  ·  view source on GitHub ↗

* Don't process data any further, but let the cache fill the entry. * (Currently used to handle WEB_RootUrl redirects, * and to ignore image redirects --Jcid) */

Source from the content-addressed store, hash-verified

1105 * and to ignore image redirects --Jcid)
1106 */
1107static void Cache_null_client(int Op, CacheClient_t *Client)
1108{
1109 DilloWeb *Web = Client->Web;
1110
1111 /* make the stop button insensitive when done */
1112 if (Op == CA_Close) {
1113 if (Web->flags & WEB_RootUrl) {
1114 /* Remove this client from our active list */
1115 a_Bw_close_client(Web->bw, Client->Key);
1116 }
1117 }
1118
1119 /* else ignore */
1120
1121 return;
1122}
1123
1124typedef struct {
1125 BrowserWindow *bw;

Callers

nothing calls this directly

Calls 1

a_Bw_close_clientFunction · 0.85

Tested by

no test coverage detected