aboutsummaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2016-04-09 15:53:21 +0000
committercorvid <devnull@localhost>2016-04-09 15:53:21 +0000
commit2e31d0502fd10c46fea3eb5e8f52fa3bc8e53f04 (patch)
tree1aa16917d1ef6fa96fe73a7af58411fb0cf3d3b2 /src/cache.h
parent17601c3157a73965b23789285953953a54960ce2 (diff)
if we get an error (e.g. ECONNRESET) while reading, abort the read and show a status message
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cache.h b/src/cache.h
index f3b064f2..833e4394 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -22,12 +22,12 @@ extern "C" {
#define CA_GotHeader 0x1 /* True after header is completely got */
#define CA_GotContentType 0x2 /* True after Content-Type is known */
#define CA_GotLength 0x4 /* True if Content-Length is known */
-#define CA_GotData 0x8 /* True if we have all Data in cache */
+#define CA_InProgress 0x8 /* True if we are getting data */
#define CA_Redirect 0x10 /* Data actually points to a redirect */
#define CA_ForceRedirect 0x20 /* Unconditional redirect */
#define CA_TempRedirect 0x40 /* Temporary redirect */
#define CA_NotFound 0x80 /* True if remote server didn't find the URL */
-#define CA_Stopped 0x100 /* True if the entry has been stopped */
+#define CA_Aborted 0x100 /* Aborted before getting full data */
#define CA_MsgErased 0x200 /* Used to erase the bw's status bar */
#define CA_RedirectLoop 0x400 /* Redirect loop */
#define CA_InternalUrl 0x800 /* URL content is generated by dillo */