diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-13 08:16:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-13 08:16:09 +0000 |
commit | 4a74938e510c0dad732ae4c48f815dd0f0cabb46 (patch) | |
tree | e8c52cd3619bba6cf0a5c367f6c9d2cff0ac9d80 /net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch | |
parent | ebc282ef4dfa408accac685565b8ee5f6faec119 (diff) |
gentoo auto-resync : 13:02:2023 - 08:16:09
Diffstat (limited to 'net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch')
-rw-r--r-- | net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch b/net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch deleted file mode 100644 index 6a394d4b308e..000000000000 --- a/net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/chaosreader 2011-11-10 19:17:50.000000000 +0100 -+++ b/chaosreader 2012-03-09 18:15:21.096105305 +0100 -@@ -5350,6 +5353,24 @@ - next if length($http_data) < 8; - $partnum++; - $parttext = sprintf("%02d",$partnum); -+ -+ ## from https://sourceforge.net/tracker/?func=detail&aid=2019799&group_id=107384&atid=647491 -+ ### Chunk Check -+ if ( $http_header =~ /Transfer-Encoding: chunked/ ) { -+ my $new_http_data=""; -+ my $chunksize=-1; -+ my $pos=0; -+ until ($chunksize==0) { -+ my $eolpos=index($http_data,"\r\n",$pos); -+ $chunksize=hex(substr($http_data,$pos,$eolpos - $pos)); -+ $pos=($eolpos+2); -+ if ($chunksize > 0) { -+ $new_http_data.=substr($http_data,$pos,$chunksize); -+ } -+ $pos+=($chunksize+2); -+ } -+ $http_data=$new_http_data; -+ } - - ### Part - Checks - $http_type = &File_Type($http_data); |