projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9aed2cb
)
Document the 6 mysterious bytes we skip in decompress_iob().
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 5 Jun 2009 16:55:16 +0000
(16:55 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 5 Jun 2009 16:55:16 +0000
(16:55 +0000)
parsers.c
patch
|
blob
|
history
diff --git
a/parsers.c
b/parsers.c
index
3b9b017
..
74c5dd3
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-1,4
+1,4
@@
-const char parsers_rcs[] = "$Id: parsers.c,v 1.17
3 2009/06/05 16:53:55
fabiankeil Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.17
4 2009/06/05 16:54:27
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
@@
-448,6
+448,11
@@
jb_err decompress_iob(struct client_state *csp)
log_error(LOG_LEVEL_ERROR, "Invalid gzip header flags when decompressing");
return JB_ERR_COMPRESS;
}
log_error(LOG_LEVEL_ERROR, "Invalid gzip header flags when decompressing");
return JB_ERR_COMPRESS;
}
+
+ /*
+ * Skip mtime (4 bytes), extra flags (1 byte)
+ * and OS type (1 byte).
+ */
cur += 6;
/* Skip extra fields if necessary. */
cur += 6;
/* Skip extra fields if necessary. */