projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* Fixed bug which caused GZIP encoded archives to be decoded
[m6w6/ext-http]
/
php_http_encoding_api.h
diff --git
a/php_http_encoding_api.h
b/php_http_encoding_api.h
index c26f2f4720f704c9dce08e8a7d4fe026e55c775c..bc3e7da6504d050270b83fe6176422ea6fec6a03 100644
(file)
--- a/
php_http_encoding_api.h
+++ b/
php_http_encoding_api.h
@@
-15,10
+15,7
@@
#ifndef PHP_HTTP_ENCODING_API_H
#define PHP_HTTP_ENCODING_API_H
#ifndef PHP_HTTP_ENCODING_API_H
#define PHP_HTTP_ENCODING_API_H
-#include "php_http_std_defs.h"
-
#ifdef HTTP_HAVE_ZLIB
#ifdef HTTP_HAVE_ZLIB
-# include "phpstr/phpstr.h"
# include <zlib.h>
#endif
# include <zlib.h>
#endif
@@
-53,7
+50,7
@@
PHP_HTTP_API STATUS _http_decode(http_encoding_type type, const char *data, size
typedef struct {
z_stream Z;
int gzip;
typedef struct {
z_stream Z;
int gzip;
- u
nsigned
long crc;
+ ulong crc;
phpstr *storage;
} http_encoding_stream;
phpstr *storage;
} http_encoding_stream;