diff options
author | jcid <devnull@localhost> | 2008-09-14 22:26:08 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-09-14 22:26:08 +0200 |
commit | bab63c2851391b8e272dd8ea8d067de3dd19e503 (patch) | |
tree | cc074f6e7b1d031d2537008f763a71fef090cb8a /src/cache.c | |
parent | 8a2b5a9e5b8aad195531603aedbbdd5a9eb98bfa (diff) |
- Extended Page size meter to include images.
Diffstat (limited to 'src/cache.c')
-rw-r--r-- | src/cache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cache.c b/src/cache.c index 29829964..dcc8802d 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1084,6 +1084,8 @@ static void Cache_process_queue(CacheEntry_t *entry) if ((Client->BufSize = data->len) > 0) { Client->Buf = data->str; (Client->Callback)(CA_Send, Client); + if (ClientWeb->flags & WEB_RootUrl) + a_UIcmd_set_page_prog(Client_bw, data->len, 1); } /* Remove client when done */ @@ -1092,6 +1094,8 @@ static void Cache_process_queue(CacheEntry_t *entry) int flags = ClientWeb->flags; /* We finished sending data, let the client know */ (Client->Callback)(CA_Close, Client); + if (ClientWeb->flags & WEB_RootUrl) + a_UIcmd_set_page_prog(Client_bw, 0, 0); Cache_client_dequeue(Client, NULLKey); --i; /* Keep the index value in the next iteration */ |