From c0f5c55eec63435f830bed760a6d3bd4af263889 Mon Sep 17 00:00:00 2001 From: Juan Pablo Contreras Franco Date: Thu, 19 Oct 2023 19:07:05 +0200 Subject: [PATCH] Testing with public sample captures Apparently the packet types are unable to detect chunk continuations. The sample capture is https://wiki.wireshark.org/uploads/__moin_import__/attachments/SampleCaptures/http-chunked-gzip.pcap --- .../PacketExamples/http-chunked-gzip_10.txt | 1 + .../PacketExamples/http-chunked-gzip_12.txt | 1 + .../PacketExamples/http-chunked-gzip_14.txt | 1 + .../PacketExamples/http-chunked-gzip_16.txt | 1 + .../PacketExamples/http-chunked-gzip_18.txt | 1 + .../PacketExamples/http-chunked-gzip_20.txt | 1 + .../PacketExamples/http-chunked-gzip_22.txt | 1 + .../PacketExamples/http-chunked-gzip_24.txt | 1 + .../PacketExamples/http-chunked-gzip_4.txt | 1 + .../PacketExamples/http-chunked-gzip_6.txt | 1 + .../PacketExamples/http-chunked-gzip_8.txt | 1 + Tests/Packet++Test/Tests/HttpTests.cpp | 58 +++++++++++++------ 12 files changed, 52 insertions(+), 17 deletions(-) create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_10.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_12.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_14.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_16.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_18.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_20.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_22.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_24.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_4.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_6.txt create mode 100644 Tests/Packet++Test/PacketExamples/http-chunked-gzip_8.txt diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_10.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_10.txt new file mode 100644 index 0000000000..4e2713ddd1 --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_10.txt @@ -0,0 +1 @@ +0000000000000000000000000800450000a8936b40004006a8e27f0000017f0000011f90828444879dbe8b41fcea8018015efe9c00000101080a11cf192d11cf192ddf32ad69a7598da17c5e87909772fb81f819f0b4c890c5984b43d7005650cc6c4a2851683c8c3c167af936a37cf73fffa563b862734ac75710ee532215f1a232a1465e84dbdc4b4bac842b167266dee2780d66c48cbd67e19880b86b5cf501379ff188a386ef145d325a43f93f000000ffff0d0a \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_12.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_12.txt new file mode 100644 index 0000000000..1f71453401 --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_12.txt @@ -0,0 +1 @@ +000000000000000000000000080045000e59936c400040069b307f0000017f0000011f90828444879e328b41fcea8018015e0c4e00000101080a11cf192d11cf192d6531650d0a945ccb72db3ad27e15eca78c45ce2c66ebbb63c73e2acb49eafc9b54936c92104140c145b2fc46b39ccdac66775eecaf6e4849081f423a3b57b78c0281be7cfd7593492393261d4f0d01f5fc05dd4773a6ea5e392b54b0ab68c41d74cad8c9b249c35be3bf0a364c409d6a192a01d6d30bf72ca2558c97104bfe746f7b231eeb2b74a30d617ade2b76f6d5a04cd0a525b06dc53df4d96dada0e7cbf23d50c98fa1b48d0b078d78b615eab31beb1c7335bffa9583861763bab58be09ac262e7beb7837802073b30303543201d1f704de546691570d6883ba53576e0a72e01a4e345289d8cf05a3a1ef0ec9aa69b5ef50ad8ab0d0658afcb370446dce00e8896982cc12a7950f1612bca95a593fe5dab0dd9f47905538bb650015bb2b1d6cf9bf14bafd0b99d38370d958dbf2cb0d748d6b04b341bd01bf0b2c292e9dc581f72576f49c6176e6db32d5ff7827a0ce2c5ba0de8e9f9ac491336b4ceabb5e3084a1f4b55c1aea9c076d6d47d9eb2644862be783bae63405770d02720d2493c61a459a7ec098dc1c8f71f4757cac876545ec3467c8979ae091b12f15e80ea2bd9cf5dd9835dc134060e24e144a5baadea0a11f0f316c52d11ff753f59e1f316e55e4eebac7ba5addff9f998fc159c4323feb0d174d3e700d3a109b4ca910bba43350c4a7c81a028c74d1dbb47ef239f86972106d9aab92ce7b013776028476558093b7e98b0b55ddcf9c2d5deb30bbc0025ba2e64996e157ec8f9823d3a2f3dd70cad755d09565cc106c5650f6bf4839a9a5f53b3987368334a5bc8e3f730a2179716b378338e297dd6ca94a00d61c92ba7b08f191068f642be700d3be6e60aa7b40c111c37d78dc669acf0ace295c657bef6f90d718a22688ad3edac6ccf074cd87dac34511405e33940ad4b78038de12fb1569d740753ac75ac0afbdaa3e505b80d6427155845af9191eab458788bcea9206eb1cf4dfb562621af4324f9bc975d3a509d78c22d66d8b626454a593d7e8f28e3770a3b12e622cf75231e114c766f38b2ec94fc79a5308ce0c4028383e9f15c2519ad72fd69793eff3837c48f3ea31ab3e8d96ed9903b90444a055574aa1be260c0884fb6b76d3b5d47335c776dfdaf0f1f4afe6eeb1e8db8710a1b9787c2152bff814447614aeabe7630ce3fd602a2165f51d7bd329e46537fcd5910b5dcfed0713c421d89bda5205f881d3676e209de204b3424e1bcde38e8ac51a62e060fcade085e2cd530e008d318fbdb87dff8bc606c76541fe979003e88c7d86bf401d5d49ac7713c09f7dc3ae86114173a911ed3a2b6875156ace10372aac7c64129793c836ec5b2ee0daa26b32607ba95fea0fa15ccfbb91bfc038cda8807885905b91b20a5f5ee482e6313f8680dfa3abebb7fde426ddd5a3a5b3ae18be8f2e433821b2afa7feecd9bc20e96015b30e219a09a866607509de2e0bc854b0dbb7c0f759225f06f5dc9371fa988412d9eed5b0f1b3fecfeb2200fb6ee0d48a6089435543daa39d3bb8a9d58da0c6334b1f3d6741cd8ad197057e406d2965efefcdf6b168843c4d71486dbfe6c8c6808b8cebbf9858b358a07eba6075c0dd655294ad822eef72816d8382b08b3a37253675cad3976354ac65199deca750155a88658745fdb8c1a686083895b48caa330fb61855aa3a357bea739743dacd86c5f55a9fa58f44af37c0e6456df2bfd2d24d70bb0513e40c16abea227a2a28121f3e47e2ffcbbb88b2a4f17c48b87693076c1833a295aa5c4fb8861cabfd52386372ee769e6aab083053a71a36d3d64058c932d494f38da7b9ac47ec09c695b0db867d988bb7e46a8fb621d4e99f22b6afd17c0b6da2639d75395d2ba84fd80c6969458006cac7e0fd73d981018af7b5fdad067cd2de707856e84ddf4b6633a96b58c866a5a0a0b3077be4fa8b4b88b26af340d2a2d7b96272c89ae53fecc7f8fe0b039964feeac7efb8b64c2852b6a7dd45e9e6de354173360eb585a27b8172a5558e6ba115fc119550f98394257edd3febadf797a29dec5d09147cc179b8969b8275f313ebbaf15530dab83ee047bbc716006b154a6d3985b524b3ae90f3a3e79a76aef6d29633de04619b1eca73e4a5941f99edd74f41f3ec85e95811293bf374ef90cc78d2dcbd85b7d742dba79947411dd80e25316c52a927ed3c0760d9dd25c54941268084a3cc435b8770e32b2520e07256f6b50f3756d8af27730aef3d36efa244c754d5d3c6113c4b5e97c707ffe774aae0ffb1a3d1a15a456711e1b3d5b63148a25f4d497e832d326dd37bfd7315079c303569aaf462eacb31ec4810ec97b132c9415ff88d65c7ebc7ebc7e5acabbe73994abf11508e98a851437e8dcbbf40a875fb03787da2a0effb272f3e4770f0e5660c4d229dfef344c4ff0e70fe48f1f9c8884b1130f4ab776a7f11d65c141d0614373bac5f440a4c0b51437d44ecbe9369625d839ca551f0b5122e1804fa8de536d1ad529c0715f38dfaa719d353df67573c71ac625e81c38358fb1ce53efebb2cfaa0c2a9fd814428f34b112d06c6d9146bcecc15193fe136ed0856c3156ed79bf51aeadde8dc489c32c6dd734620955b6a9906ade2d56d4d92b84a8eb86286e2b167ffedbe19bf8ec304cad13d7e8908145834a2ad3ca58ff364af4e58e483af9777146996ff02d9d3d2db983deda620fce853106f118190be6088c74e9314d63351a946be289e6bb3504b8b578448dce6e553d4550492b7f6a13453d2838de25bc75d8bcdfe0a149b88a46ad8ba0eca3b171ea708a24ec279c64ac93abf511a2fd42d9a935d94ad9207fa50b8e178bc1a97a105fad6ea7fb59afb8abf6666bd056d6a875d4e0248c48535a45a8b737893bd4d33e40924b9273cea98d3c741566aff0590185bd2d648ee33c89f6acac8f5cb9bd41917f67a606ea68dea6165fa34ed27460af856b5bd63604f18ca675d3968b27450a97a42b113e118c78b11a1b9be51a12fdddf2e21ec19cfd7cbc051a8341e54118c1d487dfc8f5e137bcdd461262aa3160a239e79b8cb4fe1f192ae9d6ffa46f019ce2dad70ea86f6a4cc6fa8161f460d741d5a0a1aed197b0dfb96976e2cedaa965c1aab7968daa65be773edd3f032df0585fdb2c82bab146ab12fcec6984be888d3b70e263a7d1ab2ce821a9a4daab4e00b3c92940fc5ed1b7c2f2abdb6be50fedc98e730fa919477d61556708642fe42c169a12652f05637743037a269f4848230d1bfbbd989253576f41113d4bc9a9abb7264d1ad6585373ae44b892adf230e7fef12ea142ada79ed4aeea24a53537698a68367d1dc8fb67a8dc0c77ef58f5f7bcc5c456f8298ee98c5aafd57092b370f7f2d1d2c044d699c0b6956352c8e478c742fc39856c713ef479810ac0b25370d5028701c4920bee0c9c0d43327383a12646ee481571adbcc9f6d120cb4e799665c00d8a2b550fef864048c31120000d4c8339c22f462f9688bd6ddf7bdc10bd3ce8d8c495f3754f916adedd3e218a0b747933966b917da8b5456ed0066bac5354849a2c358c7b5da23d9591cd1c77fb826e85e2c1d9ae813e03c038b8744fafc141d1f6c09cb1a359e5c563ccbc76d58ea9335c69d450f9e368fcab0a619b9dcb1e8e6f932a05354d75503f7b6521f40abc78dab52d1aecf2931ef73f90e6e70f4e5877015aa3f8b4ab07ec00dc34adb09223d30fbd6ce6868b9e14bd7ae4c505e8c166a0ba4ab2e365f28b1dc567b5d24d5e28bcd8511e147cfe6337df24391f9403716d1a3be5210836f77b67253a9f2e6f1e66de3ac011c51d6e7367eb7a96a5290a37f656a31c717eee6a015e896b677326224d1215b9875bb4ae131b6bc4ffe19baffbadca78d06ec3b8fd037fdeb004dd02925d88afa88cc3bcd3c6e12395167b75c957c1d5e251691a819c9eef2fc87b1cd30fe4d3efcbc5f9e3914ef4ad758da571a907a273a7bd8a8e757c6df479a633fae85c09d16f50d38b0336985d66cdf432d55e73328ea078e4e3806219df62d651f491cf7e80b174f2dcf7db8a4ba643320b809a5ff3382527be7030798883f590b334e0e5c08a3d8fd4eeca1032f52183ad87f7900ba4ffa160fcb629f55b39313ea9014cdefbe3d428cd5e956acb111a556ba88a05e6a87c2f1e6ddb423636d7b32a0d87d9d89481ee03bc45df2bb18cdd6e9a4e86334f32a612cdd66b39a2ef2534f391e0458d6261430e20c2da722cf23056509a2784ae8fe2dc74d0644d106059ea620cc4b695ee1f54b243f090db218b782bb6658256b671a5828fc500478f451f31eb333736499620e9a6d42ea270fda47c9521c717c3325a20bd5b7378d5a634d490a6989e703b054706b7e98c8d74eea8df3f5a9751feeb4d1a06eb65fd363f97631a718175def4aa18e157a43eab583def0977a8cc9b583830210778ac9207556af3378a66bae61fe7a3a316f2439f0d59aaa1078e16df236866cc4abce40e1c8ce28b7c9eacb15991e2b4411383be17573173c4a689a9da3fb6c01374e056d180f882c64cc396d9908856b970ea75ff91e0d9e2db5198b19b6cda6e250dc9f629ddef7cc071fe9e9f55cddcdf05386731c006fffccf744faefaa14a5bdb606cad2b6ded5c83d9cf7667280134987eaf3861066fdf3c0113def07d4f87849c9fff599a0b63a655a1b88a59d7aa6e626af8b79bbaf8302dcd059d3b6333ee2a6964d27057497b98f78634f52c68f8381f506b5825aba44adc079a2d6c4a2df2f30646b18c7a547516fba04991aa6ec1c93836057efd019c122f4a3935bc6f9b0e4486879fca53c8d034e24d2f9999b76ca89054f25cfe5072657666f97b7ba5744a1d802fa0eb1e3759184bc2c37955be29d801356168f223e378ce1d89d816dda6f85cd128f108fadd29ad8691a57ce2b5ec4be3a03c88732dc5b51b06f5ae6ec6d49a6455892e84c156345da477ef46994975da79dcab512c159a77d6e3f7c2d49af4608c3a567ed3b01a9a1c3fb72c4bf4a554d5588caa60405c2bfa1678c8990012eef35da34076763397b43428272e2d7d0f709ab4489186db602c777dd510eb5e89f31d8c316fd2251903c0f467e178f72f73fc3f000000ffff0d0a \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_14.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_14.txt new file mode 100644 index 0000000000..00e0d09452 --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_14.txt @@ -0,0 +1 @@ +000000000000000000000000080045001034936d4000400699547f0000017f0000011f9082844487ac578b41fcea8018015e0e2900000101080a11cf196011cf192d316538660d0a945d4b93e33872fe2bb8f9e0288467667767f7585dcfa94777bb55d3bdeb4b479284488820a0c1432ae9ee1fe288ddc39e7cb0c3e1836ff5c71c9980aa5b6009e4de7a32390c150902f9f8be2f6f20600290f748db83396e82adac4fd78d08c5f2452a2561383ec76bb75b57db03409c2b211a5724bbc49ef66d18d61daa1f1c7fecddc19c8e0e927528566f65cfde1bdbbcd1bf1556f65c475f647149cf43a18d7b197f99907e78a3cfd374df1ce9d749a5a0d85f137a2541b7ec3664ddb588dbee24d8d2317d8f2d865258b9aceb62809c106f5f84eef3b472099a6f85ee0fcd859338924f213448fd6f8849fdfda11c029d382ad4e5ae7f4ab4aedcf1b719cdfc2aa60ed8ef29b72ba9291c8b8fc760e1c70f9f3efdb28807c3a60c42b994b6670b44688e1af54d2c5b36d2f6ee70c1e91381ceac08cfcfb6503ab00cef926fce7975689c5d5a119e8f6e963c9c3cb348570730df0257675e8b72b34a12e71a411a4fc10ca37306569eccf4c606553e6852bfed46b61a8e991c6aa8db04cea6390ed2ef30fb9c40c42348ebf8d523e488fe262984286c840f46d6c897f1b0cb527434a54353ea1fd73f9d7eb0b1c67b6b82cb2327f27c4d1e3a3e83e53f95c1f931a2b885ed889441b882d8c120271743e0b2292045a452ec3a0cc2e6557044ac119823697414235464ad7e019f7fe5d4a04b4434ecffd586eb5381fcc228837cc88f88b93b7e466bb98f8d4cd7c1d2c74ef2e9d8420e825d9b60755e0421173fb8e82905d7cd28a9e3173de45dbef83d38d19dfece9f1c0ae506f628454e5c94891b1cbc09beb48dff055c2016e4a29376bc9def929b76626d06c1db4293fd5ca3f0c2678e6cbf2de82ce8d6899ba9a373ea8513f7cbb27bce169e3a6a19a4a44f5ba24b6cec75711b7b2f8f372f2d69cb126e2d08d012a39ed391c183dcc8c02e411eaf62327334d3973e803d0d123f50447fb5dbbc8f1a3db1186329e0c7a753280e5ba83ae8c1b27bc42ee5b4ca57373fb8e7711be580e453a34d683352c55037b3e2d405b66eb02163fac8c7ffee5c77d148f7b1064ab7b9958df0d003fbd0c2f6f8891bb44456f78ffc372d1cd7a22e96aceeb028620161eb1ba9326aae89ad81506f4fd70052867b6f44959f5ab18e409312905e7efa5bfd0cce4925259667ea0e159bcc71b276b8807f77418a5c37c2ba52a24b9becc28746e82164cce8ad75e488bba4834ac68a879b841dbfb321dbfd6bc0f16d116f53e2e35d2bd848c33e1a25bc9719c5075d04848dde672e7da16510105a3e7eec5db40d736ae0bfaa257b8001514fc77865b5e42ada130cac4461f7885c638b21c7d4b821416a26990c0f5888bd35dbbc61a6422f28ca84c0d7d014914717188665c54e2bb66b4227cbca698c7627983742ef0d7b1a21cf2cda39f6050850ee7e074a9dee965d2007829de3de1caa4aead6e54d1daa84ad849fb1b7c6e80539d9e03279808db1ca1c762ff14ca24725e80512d7918b70fc732adc5d5d62d8ae8d9e6803d42bc77efce39f7e7fbcf8570e6d74ac1b3f51977b087ecfee408ca1e0e8e1070fbd75e1f9d3af6717c6fb2a387e79757267d51e13ddfb80343e2c92aed7d9b6ef7a9dccb3f012c484c7c8306b567768a2252dbd2d45ae314ebc069597cfdd1212407332ffbab6d2efd9bbd0c81d689f8152d057fdf18ff3d01fa0cfdec1dae3fc43865b47978b441c5dc20f97d00b7585f2c2a1f5f56421e4bb7f74714fae798cff4f28a3d8b05b41496b56f7884efeeac45b5e9856cb1a9cf875713eb969df48ed2ac80a4d6d32d27152ee8412e539052a19ddf8ebf035c52907e86d0dae88ec8f29d627d1ea11ee80408d963c8905ab94395dfd886bf506a580721a757a4a08006d830daefc836ac31e8df2228b4d87211ae7f4272274fb0d6596552cdc53edc3048bd2a8b8180a1f901dfa416588ba7e50f1acd6d018535c96a8b7f6ce9a2117d5200fafc83393ccf10d0e790d0acbcfa312c43730e4f2db15b18060bd507aba5b771ba0c582d39fb3b2f773ac742bd994820ac243dc9b0de4693f3a7872442c5367c4ebcf395900781262082869e7e10cba0c578a3e6e0fbed97d685af12b8da567b95e8f0a1cc94ab9146a9822ec7c232df852e2f205765a20addde68a305bf47c5d533005b55ccaba7cac1d607b8f22d7f239a0f606f4fc61d6f27b00ebd827a3f24d16ed3cdaa7a1c18fb2037627864c4b63e02bb4c5fa7a6f23f7579693682283ab11f936b879c57ea2083c1aed5b33884c49c50fd14e8b4b56c5cd410c5664605d1b7b680a5c5786daac91d4bec09d7024cf203682bbe899c543c30c13df4e5673decab41f6ca5b6a6588b0cba26e877b0b9f20579e8ac0bba083dd13bfc10f21ddb9189166d4dfdecd27e8df0b495433242ddc92c9f1c86649d13afde80f51d7b17e8211e1f8e5534c6fea45cbb491424a27270d85156af4191587a2e5d91990a1a9b5b52b3f33ad306a841431d9bec58311c8427e20ff7b67cc022e550bc4523e15bf2d0f6e5d554bbe28e4586f4b5142a8f9f9764a3754cff12a59d3a039bf9fd0fd3183e02ef3ec8e356c4ea3725a9195159034db966f95e0ae5d8bdc9d81d64e6688e4a65adac01618085d05d1a2d143bcf4b9fc89a75d35bda9d815e0eec8b1c1da02b439da86e7067330e4b7a209fe47e6fb24ad13e2aea19628fba25af8107375547635f642ee255777c8bc6d8f573d268ca694ea6c07f460ec6bf759065d1cffb98c4e0fffcbb3003d31e17ed9ba0f6b86a23ef0dc933283389b32ed6c5f68468d91392dd7cae57609468b93fb866d6520e2d8a8770dcb01b541892fa07e2ed8b5c9e45878db5b34749ddb5fc89b9a1435bdc011daf9d145cd7876f7d5bda4eb1d3450dc3ac51a0775c1d5c3303bef7b247e0ed873647176a7270d32688e1cf3f14c2722a9f32ca03f3546645bec8e26ea02e3df31b523c269ed0f1d6fcca10021b2a98f1d57c9654016177609b6c916da28bafc88537fdc356ea662aa5c4f52014bb46f8533362089d0de4e64b72c73250585a51a048a290c4126528504626c349c4b38c14870bc8334af4ee39ae7a14e9c8b210727f7df5510689a3388aadc7248e7627b41ed572f4aa1dfef8a77f994335b8058dcad822db3abb0d9ae8e9e00c396fe5f324affc9cb3f7263baa7bf4706de2618d5f3278a94a2beb6a001d8412ec022ce4b5c86ddc4b156ed5e674193241ba3f09d9e4ba37386edc0a9974fa2caae34d575763e41c72f1238581b34533c556cf15afdc924fb65417806d7ff6af21ebc2a395ff16620f082720944a07d0fb0ed863b0a0a447567416da90a3992543f3605efe1381dea3ee9832865e5b63cc7e02272e144a39f8714b8c7cb10217dd25c90ba21d5e61c57a144fa34b1c7012daf9c9b2ca75d00df466eb7ac9ae856af294bb5a46638af4bf43d29eecbb052b776c211ba1b4ecb35ec0cebddae7d51b5f991e9716c579727a0e3f98e9f7edcf5641a05460018a8765a0458d6b323b5451a2e6ab4b9e28615b7a7cf12ddc9a4db64bd12be01ddaa3eca2e3835bd65c832b019892768ec9315068e6cbd4cb91563a38fdc55c0b259fd975c6985fa2952f23657ef28bf91658bd172157aea80f4eaec9f90f1549a85925ddbecfe48540f39ecc93bd8a3be3ba002c4a9aa00c99ca2afdab261ae3d9ec858532ac18a963ecc69891123199be037e9c4d567b5f01205d187f444374ba43398feb93942d68007a49557093e9abb540f51a295745f451d493fd628efff7ad89ff33f23bade21a36386e5e95710952e5b1cf2b2e61783eb01e4b0561b5c4a46bc48d47074f0ebcd92f1a2144dacb65195aec3ca2fc1e617b9267036a806de9ab85813d88e532ff450e527869b599e6b23f0206f66e2c8946b55f3e1cdc145918d32a314b129624916054537e75f2e8a453d48706e588ce7ab0cad9d01560b4570dd64c2e2023c622939f76cde0a67ede2f40953f638f7f18aad8186be7d5cc3f992d52beeb6bb0a3d29a1d10af1c515b93456ac4245de956a82eef58a250271d7e7bd0a544f8d32eac245b98418c7af0165d672e7e2b8e8374fe4c8305c4569efce206e10113a7e3d5908c9598135f263dac4e887c659287274fcc18ac74b22ce8d6b17720f3e060655c57917956ffea4e28a40a7f16561b23575986a0860332b7ccf649e5b605d85680f6a382dbd9e1eb3d6b229cdbd66bcfbd391984211aece57facfe2de01c93977f777ea499ae3a48b85357c09d3e841e55554d6f6c468d1be0905f38b1d750e0505c8055c6b18f88b5f390a940d4eb68fe07a46acec778cfc48d8dad0faa90a820ce88705bd2c9a8bb91306f6a7ef10b2352c6c2db528a7189904359b3772f7faf3b382e7d55519c62df6da53e4da73de082368073d92cbbcd5383d476dbcc3d51161d04cd50812e3f62dd2a1ae77c6c774693c04227686afcd12712e5270ecec2c2be151a750c3cb8b1b66a87bef5ccfa5ed4043484b1cd4a62d1430c7f934a34f880a40725e1745e174fef47d8e93cb3ff0e7ec6931fef7bf3747571cb2f3e3c9e7aec57f7bfbcbf62885dca41d1a2973a823cdae5cfdc99b3a88956c02c61f9efc2682d94ca92172c565b2196ff3cac7f5ccf79918f9c7db05eb4c0766ce16d58af33a6fccecd19e3708f3f85bddb650fabaf76b6393b62f18aa15eef8ae808e9d807ed4167b1810a882b8a8e397fd943a8815d0a2b73b2505489f4665d589a9f25d660d822e41fc9c685f489c06630d56940dfb9122b840018f6197e0b225b9770f0f24df41e8a166642a6af1628d6718d73709492235617b9f932b967a959582f06f60403ecb3441307230edc474ffa7626040a2e1115b2634f56543921bc2117f7d135eb4047e4dae3884ebc7d251223adb40da5c5b408c8c011ecaa5139f62db97874cd2c8c7e96b537163f14f0d9c2e824aa1a4bd7cf01a444700c09c1b83c0626dfabebe79f66ca78205d02354d0740c64f1e47edc59c48e3bceae44a6213581b7db6c821f411756cecee791201f1469f68b5f9d628f24da9b5178b7c18a5e6cfa65f45630c2c70ba956c106333a1207919646b32a525838a675196576cf8aa4c4bc67198d0b33bc8eac62b90fa873ffdfcc39c771edf91c182b89719c4c4ada3f11f56ab3271f05e262932a8a33dd7d215a506b71c50dc42644b5a90c9cfab321d98a20f42434e32ae553446f48bf508d49b68933c412f906dff1e7a709dccd4cd9ff8ab9de4e1d67c677a02ff16231f83437dd802fa5c79d7912902447498a1387d404165eb33b9f937377572acf17223bd9cc1a4b983fab75c64d6242ecd2afa26dbc8df449dce556d2a189f12144a033967b78494631f385b08f5f237d7c071f15d1b2714b8385dc9455d179c02a170d25fe171de0464a285812669ecc1e6df571bf041eebf7d5e05c4532b1432b1b5864c9919c8c5abe89a07c4fb084619c48d649380d6685fa27956942cac1876ec8e7d20f69df779a81ccd51601ce7cc95cee9ca6028a160bdce70ea9b64fc0a55ac5089a12eae0ed1b05b237a4cfbb2a521f0b545cf61548c5c97d5e3fa60d979db226d43658fbd0f51304873f09dd0e044518fe221d424b927adc9baeb6b34cd88b9480af0c6681c0d729c6cad0268de260ffd69b287892d2821dd4d6bb2e7545117ad224782c20a35419d180fd3713bb7ea621d01c1cd5ef0d695c45c29ea5fe85d3312238c5da139c95f22c2b26bb91190b11a938f27 \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_16.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_16.txt new file mode 100644 index 0000000000..a9565625af --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_16.txt @@ -0,0 +1 @@ +000000000000000000000000080045000ecb936e400040069abc7f0000017f0000011f9082844487bc578b41fcea8018015e0cc000000101080a11cf196011cf1960df348827f5be1e42569348bd2f15e2d1e186ce1511de8f426b4343aa248ae21d3fa4dfffcb1f0873a6eb9f806bf0864b7d1a26255bf66ef5f2bf56edfa0c5a8d9347289b5c99e82dec4af73b25d81d471867c619ee774af015efd0918617ca629deccaca9a7d114d269e2bb6683a9422c0d645d64cbd941970cc45db9c3d887ec12d4d373cba05da79b4cf2a89c51df1bccad1b1b42372a8124036d6414fe6d55f7018240ab8e53cf50aeaa80cd6880aab750502891598c4d5ec93090d043fdac2d0c96d74ce68f97c6bd7607d56ed73409a51fbaf316129765650f09510acd8e71e7527bb644cfaaa5876ae4c49feee5ed05c28930d0313f1f837c12f55789e9e78746985ac467f5543d6483f1de8c734a1500ac3f9a9f8655a8b6241d83cce82a7e89f95d3a1d8030abed6fbacb45a91873e09fa97a54b7817263091d7d2e5f98e5b922d625f75194f60f73bb7f76689035a5a8cd98ed7537ff0d30f3b5cc2d7aa98d87d824c19d9421443964b898f7bdf9d2ef8457d8a77167c6f36b2ced469aa837d3efe953d886dd69c1b149ad2080f51142f8c4dd5770195fb33da4c33a37c1929becad88c474d23299664a75dc3d735d6b3eab2308e78c6d7a4762d645232e29927c72c2e636a7ca2b892cf4bfcc9c7d7d117b72494d22d62948c6da5614ff98cd0363ab897da449147943a2d461df4c005a1c445167750275be0f82374c5cc6e83c3ce9be2f15181f35268f68405f0ecd33d3853ead308757aea19ce0f6277268793e20821be32094b3ad507bbb7a42bf1206ce30202c9fbac2fa292e71f4d85b176d16393a487bc2f89260ee89fb3457d32158eae40bd4b35dac7ddab79f668a1584a7e67b45f65124a15d966fda61df5358711837f4bb6d8d570558dcc015053530bdf8de4b770615549826b4e1c791714c6c617d842c9e26c747ca5deca2c6696c1a1ed7f1176834368d8250cd9a8d3155e7098aca6a10c0ec2c6f22220e73b530d89b6c4c2f6c513014b2a8b415a9577351c1ae7bcacb865dea32a789395e75b972634b7b3303b846eeffb9c9c3a2427bd2dc48d5055569f1eb3e5fc897a5a432edae3e85fabd370e154fabc06c4481eef729b6534c64d0455af8ceb6405c5f20e46279f449ba57a586d76c8fd8af9de8cc2c4e3cb7fbb4ebcf6c7161ec394ac87e13ab169dccc8f9f5d80cbbe328b0cbb59efed4934eca3b0b5dc40ae161c11a0b2697f9ae0c5d5582294feec36b441683986b95160439774e99222dfdac4b9e5d684ec5ecbe8e20db9dec0ea9c8c99ef01a515af45b630fba588d8e525384c923658072acc204f21dc8535a3119809c749222b621028b2e38ab2fd1ae96e2f7f0da3ec58bbea75d6ec1902fe6421ec5e402f708e619f970745924731d49c3bf5a95d07d51b14f83d7ece68e55dd49d9c5a417f09bddc1976de4b07cdf1f91f5d3cb9e6173e49e2ffa21b4939f1841798ec2e74a005ce2bb31976d7a183f7e4a01368375465a1f0074485b14bd14a83d2681908d44ad4cd4dbeb9f10d0aa88dbb4483dbcc084f6f8d6a11a3beb466c827ed74eb648d8ae50ab949b63c6a45123c96a1d289efa07f4b7da33b5cc56126681aa7a3dcbffc1585cfdf988ec27b10e83a3bdb6201b1034bc7dcf38f857ceef0dd5dbed9428ece59d8fc8f541f44f9ba5d9e85ef782c1ece5af21b1c0023a47355105d8eded96d84e3ed77de794b56b6c250f760a444a7a187af8e2ef83e44298891e112bbaafbb7e2c14d127604bb048f032f4fefc457341d1d0b4b1f81f45ab3f9304d1a913a05748975c9853716b987791d7e1d61780eddbbb535cd1c4ac4ad4015933729111db9661ec6efac31d980858a4c1cb503a3faed34b484469d0ef2e5bfb2102c36902c0cd2f01aca23342fc079854943f30618b87e75c686267608ce967e8a4e7490be1a91bbd7dfc8ddc826f5e2d94f232051ece18dd1240f110bb88606a9bf50d215d33bf6882a0c9b1c3c43da0c9bd5bcc65d1cb7686c8e74d01dd928a80bcf0d6dc57344c0eb2ee49f3095296caced3418a0e14eefe740d6bf08bdcf72d646d469ecf77e6fcc44de4580d0cb606df68bbe11d61b72c686b23ec038bb935418b3c3d896fd2ab2b3792d7766001b7efae1773fcc5ae587712b28459fc3b93709e0509bfdae926584a14e1a611d60b63c8a7db8fbe6a4f539c8dae25c5e5f48ed8466f7c2ca2eaff4ad789fcc87a58e2a19ad280269701bd91bc42be188b12c73a8a335ea6cd8c2b40ad3c13040c3ae2a0b1d4a5125038e2dd590e346e34573de0369332eea0e27a0c9d1f68e43fb22e4dc281e74570866df23107e5c6a432917feaddce6d574724d0dba6b4991ea717cbd8c9d1ef12c5aa9cb10edc03e835d99f12cd721f04df2c4c046168410b1b2261d7b00766342debe047272052df9e63cedcf608366ef8d971564927fbadaa073ce5d12210d67db6d73c6360a64937556a66e348e23b452283152db6e8caee708dddc8245cd962f4265cf4701d5aca23a5e40092837a96378615c36e9a4ee6ab4fd3c535c0885b90cfb685ffe3e0a0e2aa32b130375eacb9f6d9cb0b8a9979347a238191c237dbcbb98da1f506b38f0bea48bf80b66e78b1dbbb3fc18fdbe01fd7565e7148ae2892002fb083e83f20c90ce03bf2da28acc0679feb87428c05821eb4f67930afaef2fe2f6f5a2b9351b14a2c47996a31379fb6a8f427e54d2945614c7166f50d4443718c21effc9e8e2afae18344e3027913b7483c954ddbb117ba84d8e235e44b127f45941230769d962b0222fb96e9293bbe89c553931151ef8d896ecf2c9689e8b643e70ec4f333548dd02d7db955cf563890b8e52307235ab12fc59680409b86e4b69dda5b1d9ccf1cdd105bc99d5011351ab287b642d9962a582eaf053e8840330fcfee5ff50ece2b85ec5fb20d01aa74dd47d679605f0ee5f643e87702777814b5d99e75910522d6d689a0ed879860049f679b96e0cdccfb1c09e2b58a3e72b444f3cb5dc5a6059a02bc545f7128bd1c78b3dbe791c9d5b205cc49e97c910a383e993e438fea334201e75eaef38c131f3a95aeb551c83a2f8207d219c4863ee6f4d9bfd0511d11ee79fe1bf3abca23851c55ab163e7be96de8f4484315187e88acabd18f24f49807d50f9078ac44f6e54fa4027ef12e9873741fbbc755ba387b7d133eb5e0f622351b777a431a0c446f27574ccbad3b9c2c91b8f9c3d4293ff81803e3ec47306bda7c7962d70c4cd71d08596593bce2d7778261eef5b5db4cd027bd01ccd1b054d9fe3afe31ccd36b9222e0b6aa32786fd0a8553f830aa6adee263f22a3969a7597693a536520148da8056ec460b602f92f4a1130adbf825b565e304fb286b9353b41290b3694c119b133ff38f389d79bcdbccbbc5edcbdf7a8333869c5bbdfcafc84b7d10f709e75646cc8a6c6ff11cb69e3d202f3063f976d117c337724f56b3239bf9debefc751891358317f6ac0e435051060b1bcbd1584dcdd3bb0d6d97358193a2344e52f0f8379fdad63e6c31b794b6cad458226c7e32b1b9304a6af6e19faed52ecbd46ab3445ba2058028362f3b600ba9fc482d6e153ae02e79e856aef86b40b1a760f3f1729e4c5feb08be2e83318941b767f7c64336844d9187f7e489ea62c24f4b763e82eb47634d5ee705a1af34344f52fbd6b06ba84684eee4e34bf2d129bac6edd56f26301bc4bb4381e4f5fa38415a6281c97fa52c6b6a904dda3e6e90a978fcb8a387470f6d43c3f6ac062b0b82cbb7806043c5ee015397ecab25d72c1ac7c24a2d37e00091248d10eb6c14cc7abda382d2716d7eeaaed823614f565679735dad7c6db423cc5e3b2ba68e20b077467419e0fd29daf026e797dbd21e72232cc59937b05e8f67fbb5d1cbdb833722c071706735ddd67814a3f828753506f2ccbb59eab743564e6d7af0517f4a5a14532c6e6a169067fff23fe334d7938f2f8d20df6402b2f02f7f5f53c3ec9ddde5745d6aae24a641ab7675b95f30e0e81ab3ca46948941461150f47011ca531f82f3f960df8e6cafedb5728be7c1d897ffd00dbb831eaa6c35a22946d33caceb42307b63f7a23576cf16fb7abff32495723c09255dc0bfbb605eca4da5f47b90ee4d15d9384c139dbc7e3e0db80b15fb37d842b3cf7e5603b65f219fe92c8d5839fcf769006054b764f71ab2c294edd134e78ffab304c3fe8c30a9df42b6393d4b30cf07cf5cd1a5b32384ab18658b884d3dfba64be2d235b1aa801220b2d8f379dae1b9739f1f8268e5fd3cd4c461223abb332800992b12c42d6145be98d1aa46947ed26bd90a07af8d6892d1f93a27cefa622aa8f19c406cfca838dc908f8e66e341055109bb85ba0bba307e2736ef2e6003ad36999c4475f85dd375ff73a5c6e3014d85e345223254aae24b8b821637d618df85eca43f3aac06d808bf2a51a2d290a47b18d6ab2c2a843828a98fae592de57b1c9002a4806d619b2dff9e9cbc3b38e3b3d20e35bbebd2287183346d14e9ae77598ee8d136a7eb7aa59444b9a273d5d8516e157d1141d344467ee9eddd28a1490205e706646116baf8905cb3666a1aad2502b337d0666aac8e6c736eb25863f3cba2c26c4e53891e54988d41c79c36b0d02b18a48e1381b37ef040d3805d6ce5726bea7e5b1e7d75f89a3f893726dc59b15411e881a235dd94daf8680ca515aa99feff7f01549db33aef3648201b3d96b529831365707bf6a1b72fff750c7835bd35ab21fae76c96544c7f80ad35db51319d2bb2133408e5faeae28c362bd967f0abe0ce6870d65be3c036d10fd11f579238dd2f5a74a6ea40f76c41d5967cc40bda7e1fd93c45aad302140e33002dfd08cdeb7a32cfb8cbab9e14f4a0c2711035348eac736e03bb801b22fb94934d066713c564eaefe984f0a0d8bdeba47538c2f6f86f6a7a72ccb853da6cdf1c68087a8be6390ff8a3b0ec418a66a443bb1696abe498f9b1df40b0b0614f01496cf9eb6ac9e9e2de388bf08fc0f7d1fc37a20bb8e4895935898a1607bc4abf03763e54d0e4bf0aa718a379c6938ab33529823ade5b37af3a5e1377b8096feadab6038ed64ee80a59a31cff69e83df2cfbd6438f73ba304288bb6193f236a2037827dce20b7ba119b88b6b5a2e9a0746e5d20141345e2c15ac82583a30f757ad117ebe448cc28552c6a53d110cc91d0ec4a27eb2cd0ae741d9e80e33dc79287b200df9dd6313af452161ea18ca7a66f59edce1c5d31636c4d6a67fd3f000000ffff0d0a \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_18.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_18.txt new file mode 100644 index 0000000000..21c02394e3 --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_18.txt @@ -0,0 +1 @@ +000000000000000000000000080045001034936f4000400699527f0000017f0000011f9082844487caee8b41fcea8018015e0e2900000101080a11cf196011cf1960316666610d0aec7d4b8f1c39b6de5ebf82933dd392606554d6436a3d6b6e55e9d9aa92aa55d5d2f40c060546043382150c32c4476645dd7b01db30e03fe0cdddf91a36e0813786016f0ccf6cdab397ff827f897148463e98999151a5ee71f7786680561619c16030c8c3c373bef39d7721c847dbf2481a773605c6bfbe8564d87cc5edb6d83fff6bf4e77f85e3fff54f0b07156b8d6511c33181ba2ee6a2a6c5b7b2e6340857f2cd0957d5a5b50f341508486042c842e1cac6d4c1c3712bb1fc6b6c548e8101304074142ac7f97617496b62894bcca9c390619bc525a42c55d2d6dceb24fc812216589716ce97dcc260f4ef4bcef2a15c0da8f1f2f1186b80ff85d40899aa6c4527a1ede0679a0680a12ab7659d96b0cded74898ec49fff4d80aa52c2670058b7dcbe653681285bb40619eb57c89bbad5c68977a6821df518eb90af29aea0acc368bcc734cef108ec3e050e38a80a577636ea626e736e9f0f11b21232f4fb705768810e544314649b6aa672893fa2573127680f7e0f03b23fa876cb891744ba90a6f648a4b79cbc265cc434740202137d616b9a30e256a4f36f0558b5d1213e17e0189ddf022e6d65c4a032f2bc6d1d767e1b6ebfc7b5e054d8fc1844511eec2e36f0be143c651d3dc940bc97e320400943f9efb0b6b9801415eb2988f6f1654e78c0680408afb3f8ef5cfc7f4604af046da724c50a6b0809f80e9738484055dba24e8bcea575a7212be5e4a09d52a50884d72422ed866f7e474a8adedbf35010aa021c0b23577105a77b09f8ea79b580e8891100db6a887c688b33c4dc128468bc98a384601e2957e13c8fed8409df502c6acad177213dfe475711d5f84a06f00f0bace3da263898e66c586dfe069553d958734a02887466eb9c2bde55b7c5274e3c212f30913a9c0b992f8c0055b7b657ef7095e3efff0b030a5fa908c72638d5a693721b8e2309591dcc63830b9f8a3af03680f5da7172d78c384abad5d1374a11b0260573e81ccaad2ca7096d0d33fe5a40dedc71a8f70f6dd139ee945ef419874cdce86b1186a99073975492f0cc682920227cb56708847c8e5ea3236c83c8033dcb1746b9bdacdb029354a04351c60b71734c341264bd9d7b8d1a72ba560d8158675aa0ef8808be7355138fc05d7b9069c87af68c0e75aa0cdb326b216004cb0aeb5c8a586888db6a393c1208900628c822662ef3857680fcefb5fecf03b0e9e67814fa4013576e37dfba222919b6795e805ee29884d98d2cb104a404762635c10c7842d70ad7ef023b6d2d7cb8750261e50c8e8163dc8a0484a0400a744498276291cd49c0a12b719953651a391ec00667dc12c3c7840f24a12cd8280bcc0a4fbbda81d60cc2630e71b0f66d5e2aceb0e385e880c216121828b12c02fd18d8d60b0fc46d3ba863093189271a587ec39e10bff1f89fed7434de6cf45a845c981ef25288aa724676b0feb57899013893a24342e3f05404a8993462aec61e4fe9a5c55c1a56ae8b247f49b0ce97338ae7c4122db5e73a7f411523e83de6641efa9a0132b29c30ae565816ab49d6df5180b3061b862b73fa6da5ea5868dd9a8063afa0e855592e80d4714123eaca1dfd371b6a60255f6d77740bed59843e1052b07a399c676cebdab2425897e9f3306648358142192145dd8f45bd46632c28a0ca0b1c18234a5bd54fae448c3d097c7889399d3f4e94391439c4cb85ce45d5aa2f52ee4c1c15a4f10ba4a35455e9598012d1426500e7350873786da4c2e3601bc985aa3cc75f46b8166de6f03d504e80f38d893a4c5099f8d22ec2e731dd7d834b820c2fb8cdb946778348102047705b4825924b8d231bc0bbd27dbb2741675acac2372671891b0880259fa4105a336c3d8c00981022985838155c6137167130d41f19a5018d3ea201b647d2a89cd4b96c12456bb2fb636a897cbe36a1a7b5b215d1b9c99b8ce06bd23cba55b73c21ec6c3658cc4cb906ee7a921b850bb3185765888b7456567d6ce14416dc45851c1348a0a742f6065b099b77e133b5d10af288a9d69ca40e7304116d92ce0b70eb268752a77af521799cd2b468593b8ef235420772418057503747d999d88b5a7902326ef39f2f12c89638f7b9e4565b3c8ff1c8c29f782146611697c2ebfd0978a02fdbc29df659c8b5987aa02ab8e5c8855f25f53a9bff0b53872895cc16d9ddc8fd6ca51e25120c046284be33c179785a37614c82844570fe94a6fdd4788c59089b743591abb1b4df060012d1def3b64c20406765f38904ba4de22a1cfda3a455eb40c109c927bd3f605806f476a5ad719a16fc6a8f307b4d8011e0b5d197e131b47065760f2f2353e09654322ed571840e98106a21b6278152eb88ccedcfb6533a2d11e4b4082124435be6be9b6a25b5b1200df838d5421497ad8bb4af734ae0ba3422e86b5291310eba9363da4f25ce5c2b84817ebbf5605dcc12190399571abe9cf7f003a157ea5f32017a168b825cfdaa3ef46d8f85b83927e09cd856ba9d3141630540ca5884799770e6049ac4e99a130964c064a4b6e8691ac4d7eff94268e903d5bc5dc83a0e810a26f725c126d0295c5d54da3afbf1c654a991a049db28414e0962cd9c392d4560b74b0a573c8b5c532bfd6e9c43fc239d57955d7174e8424ce1095230fc197a4a05217ea913fdca808df9b21dc9d0d0dd7c2032c8073105be8dacb9690c57acc9a9267c7bc0766a639aca6a41ba8849dc60268814244a73d54a94ccb32519414bcab34bbf7c2223699bc312e2d2415909303b501eb9f28efbf8bbefff5052f49470aafa07c22cd2262450487d36ae11c51149aad56acfeaed4157938d81b052481249d94a5df49fa48633ab25bf5ad8c7870feef63d8dc9306af55fbe264a1b4d157a6daa841a1ee4f402266da74489a1263c2ab489d8ca2443847fff07744c03ca484938892acaecc71beaf16a43539349fc4070a5310ffdde4d3af164526d17e2c79634867ece1fd3246725a64b919e5135a9edc6f06ca91141f800c37100eba8ae9495cd5163e74bfc618c2aed58217c6d5b8c6cc63118795e885a92f9e949335bd6e9b0b08fa5860d2738dcc700488ba1b8237b0acf0490425015a677e2b8243bbc6334f221e0a05f9a60027012e5dd924f3a362c61584ebfffcf0b59ac93a8b2551e5a580d5b981b1abfa7341966a1a511b403af1c14cc58acf9ea23e2be245aa3d7461581fda3545a56322b4bc7dd9093622d89cb01560b11ec7199740e11fe2ec4a4d698f33382ddb96bfdf7f1640f87a492c204808e735bd749221e19ad4c8dd1abd0624abdad14ce7612f713ac47ad996dbe03728d9c4a81ded6a1f9a48e049435049f995b07abdb729adc331c264748148132db4ea5da2c8a3679d34743d0be23c99c572c67983361074adb89afde50086350e8294d721d00b0b9ab8b5257d725fdf03b9a803b011d992c0bf0cdd25545a5ad72e7d3764f7a13ca0d01e5e02520a3e5d1dcc5a4be1bc309aed06b62f4423812aea2c2965ba62ab583196ba1546be89e5d22e9f91dd21e9c5527da68eba746009e0cd3dc709d0b5e9fcda416b16fb6f278f88ad518c6ca6f5f417343a38de34b5239e5d6d4bcf26468559cd704cca4414eddbe0dacb877f7eef6dd75b677f41a07203e556087debb522a114748b39798a5743411860ab7b55ec416b0cb56a75c818c6e279746a6419a135b54dafa2ee6bd831101d0c2928f76492ead42aaaa76cfe47bace0fb82158e264540f630729551e92badb541afa73d7dcba9082d4cb62612b6a6d316eb52339f024fa6617a598266edeb1c6e5ef559dd1a2ee40c4cafc5e8fb7ffef33f2d9a97224b6dd1a56b367cfd2d04180444ef8645028a9dc7bb20ad6e14273dc1569cb3507416b6acf172b7507660c9d06b2e48cc4268328b0a5bde59d9a3b87f68e825e4bea523acc3d4629738919d428ef6254dc0039a59c2d4307e232193f4d19de8424e73217968fb3ada3b3d3d3b7df9f6dd9bd3b76f7ca0a5a259bb054500dd800a5975342d4554ba8a6e2c1ca58d02c03cd49088162e9dc7396e0fa6035f3520bbf2206eadc4952dec9ca1f4c43006a0f68504a52eaa8b6399e590d739210fda1d7aeef800d0e9efffb0189fe25cd658daacc2a60fb94f549cb5659a01fa7cf4ac244c434452316f5e70d5d14c7517a3bc0d8946cf290b9c0ec5907a884989159159bd8e2fe63d66250d059d1cf9521f0e3902769b5634cf534a3297aa8af0efff5b103f854b426ad7abb59e1e6f9b5b6229b696b41c02883b35340d62fb0049db97e7648c6c9d4bfa80dbcd972ec7b3bb13225c022f14d496c34ef118608f8b491818c271ec81191df8b45da8287a8695ce836f17135768051d4ba2928c5b7995396c02466a88eb0fa895015e54f82a073c8fa9c605a4548fb46cb13bef4b922f1c6db9b138a58ffdd2a8d64093c66b384ad121cec898042107aeda6ebe548fe925c413af5407bdf1e504a028f172eb7c53b71645e572c3817a131c2da3d4163a7dc08640b6af967dcb6a7b44d502e2d0d644bec65a020a4d2c5df74af5d21afa9367368d5f28fbecd4fe88133c24eb52b11105c7ba2a3cfc305bd6692b3076a48f30d68b4c0965536ad75a4157bbe6e1759ed5452e985ef632dc8811a498d7a4546b16d9be3465c01b013a576c8b1db92459dfd2a94853f4f5b2880c2dd2349a9a4fdb39824e609f4736574068b7535015495f65ed65cc14a48325a93174913a880c9d0bc9045da54bfcf9a12080d80a8c498c486134ed0633f57bdd3b13634e83102ae90bd71f988e28901423e7b25cf056d2a2c45bf7763a4d4950734e89fcfe3faa452d071299a8b5d3f1e8fb7f9670107cf3fd1f4a12b86179b9b9f5558397b45d59997de635a6689f0513a8c0b44b96cd26d5df914d666beaa5b9fe4a5f7925825a2f1c8f840ca7b6938c25545ca9c5af8932807e0dc961cfa568b861094b5bc1cf2fa84829722952e65dbc914b8fd2e94ce2621f88843499d962bed4a8a95a7fa800b02a727988e65f699a81687d16a31c63f406e39293f9291447dc95763b68a90433f48d59b49257b62afa682616f2f5990b6c9859156a9052d4de2d0c5511986f57c5f03479c63f602e17f2d58f7d14d4d86ecf6625e39035d6c0618463f48db19b670059f49738b578d41efbdbb00abf24215d367635510e350d088a4a2cda58646c0aa143ca17031fe1dba75e6958679680c0224078e980aa537af36446b0bcd7255d399c4a8383d6396142cff3c5d8a2d529d54e304ff31a185a2bca436489af8c9aca4e549136cc70844ede049c93501a9dbce9d4c611a02ca8a5d99c3fdbdaf208ca3bb5f3948c6ca490b4f95e032f2c5445beaa5b6b58ca9a01f0acac701670e2a44953ec50023852b854a695006c12635c91e07cd3a482b5352e77652b0216762f5a0ab01043040b0582f8307885643e7a4262384f64b29d3cf0849641da2da9a0c8018c1c93d05a560e8c4e449287513dae2a52b66ae297ff68706b20bfa5237b1b139e9b50771f429ddd9a9aea368c3e64d9d8273c0bb4d2d81605a910c0c5672e61f6d336b6bb9738c560f910e1012c878a48d98a8e296460f0f70d0bed5e2175636c2f6955e40da02dede176488a307f475244455367256096ac7178c25e4ef802ed7c615404e56eb8a44a72203b593d56a71337cd6bacb12842e2005be6b200c1551d3778890e218820c601bb46c55c71a7502bc0c817e810e7e5024ebe6038775f50888c91b59c341c3d632ce8cb3981 \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_20.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_20.txt new file mode 100644 index 0000000000..92b1a02005 --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_20.txt @@ -0,0 +1 @@ +00000000000000000000000008004500103493704000400699517f0000017f0000011f9082844487daee8b41fcea8018015e0e2900000101080a11cf196111cf1960224f27d90efe77e9ea704a7060742e2ba15292d87f3b45905009a9c7b374918146588effc4c434695138df9dec85913d9760518f54376256307b0379c5818de8482e839978ee06a4aa54746e94a2c4ac369e4d7d4dd08510793812a3739f9383a7e462f589c2a983c7989964099232aa6c85d3e45dc2451ca9a285d1705f92cbc500142dca587a7f23e5adb0310b877cc1c22008cbfe9e35411040f8a53a6c2647e1772ee1cb7f75df774525b86af3e480b64e397a0e3c0e2131b0ad8a86aeea5fccc9c9b5f66adfbb831037ece3221cae3d551de259ac87e1442fc06095f62a0abeb84800badd9a99921c8830f530c61a88f81c54292652ac569b40b3c40abd2792a8fec925e1baa012b33a607856977689c0bfab4f832e67e74b2b39e797068419fa31eec726bba41ef45d31c15bc0c29ffefda73f7dfa9f9ffeeba73fa24fffeed39f3efdf17fffdb4ffffdd31f3ffd8f4f7f9a170095638c1652d28cf0d494abd7cc3a0c1a706cd4e70477f35f3d8383c24b13d81809aec06ed5d1d3b098df562742381bc705c5ed2653b87f125319183a9be26e2dbd661890d46469829f022aa37c52e992fda87c5dee708ba51b87fa490c456e0b4a719ab602a3452a9ccf7ba14f71b5b5d31180d310e4998a24cb50530554587f8aa96cb0f72adce121d558a017388860d419b602fbdc705ab5728b3afe910f345d40ae424527bbe6b1e0da28f4dc2479e09ab415d1102a3a13cd1c03883a08c8ae065bf7efdeed387dc5d09414bdc43556416e5cb539b8b7b9b9b5ddd1a6056c679a701cb0d4685a02d599abe9d2d46b9770ac3452e7600ca8eb40319bad2fa1ba53b60d5a509d6374845960c0e1ae66d029e1cd5e8a4bc83c9a849e049c3abd1a82858134acddad6c89e16881becd17d7aaaf8b7c9dd51773427909e44b6c7d8e5c60be7d0a096544e0455593fa28a590f0bcd3c0f9c8482082c7190f0ffa363ed22257684653a21221abf571fa7281c0cc86b7b93d45c4e2a21317ef410efc49c1f9722235a3c4577766237bcd6a93e49c166118296b8a3bb27982c25c2ce03b2fbcdda922699ba7915ac352011c4796d830c01c6450e6026f811b71a587e9253605414724076cae0a8e82c69193db1ffd9650cdc1c53e5500519cdfdf0617b12fee6ef47c0fb92c6a1e509c5404c2356bdec59b0e273c815e022d93182dee03909bb2a9735e460081c3aec9b5146dd9c5c17ff602f89e02ba8e328be6544b32e2ad21a9cf710cd9b3b1049f2913c14a19426da4a7b5ee20c844b25abb3bc82dedc31296b424775e82a41c465cb288e351dd12bce361512f442ae6cf2ac625eb93e7195459c82896ad500f72b1005dd6b6cc455ec6a26dfb3ca4dc6aaba023abd0138bd5c85574124bb4141cfd361721d1e3251475dbcc2dca1826e69e02bad879ed04d005b678bd17cdcdf04380ef84b283f9c24e1b1fe084f6c111c1177142b12def74cea592a2673c234ce738a4a2203cab93cb8e72dfa6d73c346960d5570c8a1c8e3ba57c1da92a56e8db30d00bf3d4c88274732f40d26b746878fad1d000dd6bbdee45c49aca8e6ccb057a4f41bf9e9fc6235be6a0589c7051b60731b9affe218085039b91d25ea4adfd5444ca1abd215918ec7f0e1511b7156e5d49aae87a2af2456a8d3c8722e75796122726c5ad44fe09460782b03cd0904de20cddb6aac52f8915ae4d41d1292ec842cad2d2d746dad7764b0602a93b840a1cc0b12b738c0a3c5595a4ad266e12d5b43ca70128b48ecacdad68d08ddd193c0f023290f34c05a8eef37357d8c9b8f75bc2ce0b81f67842c3d09b4bec0a3b19d488988da0523a37f542461b22f828ed94b1f9954f49788039face2401e002f3da6f151d0dc7304a3113245d623bb6e6be91b86026a16e3a46d8b486f81e0989c33dbf2a5d61a731f7bd3a0cb70bc9fc6ea1304f290610516ba0e861cd03e3088392c1e0ab6e2c3a9662248ca24c992db3daaf14a5516bf09614a303481bba108e0f55898b55b73840ba1a927a895ed72c278509b61a976b40e5341a0aa16155e9b6a0d597848374de97f402a0894486333096ce2192d1b2ea828b23e82919d1c0a705401128742e9f414b7f14c717f39b15778ab7cacb3599f91c684588795b63195733712c52642d0f7fe6788cd0339ae4c0771166ab3155259ce7e46302d90bca0a5ca24bfab4a171cc08fc48e968fa4f4a47280133ec939ec671bf0278cc10a7a48768fa6413fe377f11228ecdb4cf455f8b6af64f603511650f417adebe006a645a5ad7d2132e38592cee432eb7fac940edde785cedde788c512ec9f0492fd7ba520f3736ac923c244a4f5566f8da3dc8ba2e8be704f66dbc7b832a8439c29c1bccd04e3fc53522a949ec23304389e04322094f081a8ac4289222c111b406719860f06324cdc81d442e2c81115c08790a62a234aaa4a522220ae152f00c95a48c8954480c91ce09fad0f40b654cc498a1948c08131591b60908324089284bc3a9a644d9f4d69a26b4c25c2ba821488bccb21b202d500ec3a47342255205654c21caed7340a7144354e1a4201a618e59ada842718d30c0505378138c8058c23e7784252529024533358cc0ad8a2805007ca4b1c9720db742c3a5501a2902fc50247523a0274fa53c354acb3a7abc515df5133da73c45c26804b19ebfb0dfc9b5323ffb96ffc328fcd7b0a5b314662843f6bffd14b03a124d266149526acab979e98bdcdc44b3d36fd9448599ff8a7f5bad9cac9b6aae378960fd32ed6f6ecd95bacee504c387d9bdf138df9eabd054c34204756666066981de90317aac40fb24bb4f49a5c196e7ff049847966b85c654e7e81d642789498a4e499243b284acbef17823df5e3d60fd58a4355236d7663f93b8ee21a56b469ef44a2c33ca61cc1ea2fee6a0ba78e44bdc903d443b50d6fb8b48817ca7e915240aef634633fe10415c2791b60bb3f3efe1c6c6783c8ea41f0b90791b90d5dd245a6d583a2bb85162b6e1f185fdca128b96c001d62f31c799edf4a45a4b616246542e04e0a5a25c97acb73b196baaa65feba64295a42596355295e04ab8055f4931028b151246a2a1b10b3342a739a911b099a1123e79060426a8e969046be3f146bee30778c957b90be33f3fe1eeedde780c997b404803791b4fc8e96f4ec191f10a01c51bc288092b33b4c4c3214dbefce2fed6f6e091736dc09d73a3dddbdd7b73f2e1d9bb876849ab5bbb9639ecc00de6975fdcdfb9bff5081d3b59b407b2e8123c8ecfd02fb71e440fee6ed4d23fc1bf9561cd632a9cc2883c44031bffdbb7c57d209d7b886072d84fcce8eefff997ff01bda7ca60c66a2bd5eea04a40b4be61e870ef8d138097b0135a49e1eff8c6d0a460357241ef6844648d1896194155822b34741104b3771c4b31747211b33bc86d9ff412b64924096cabc1f57be908c624455ad22c837d003e3a9c87c32b9f1be83a40bc3248f09eba653b5dec70df1e95c709aefc80ce49bd75d33c131bb3dfe4cc7d8ce65bb8890b1fd1cfcd7da301d8e9d76eac398a35acbb21c450d9dfaafce157746fa0506f77dfd47e62a03db7459f98d871ba50009b42aa065800d532d9e567fbdddd1b8f69992d5b1b5660f59092c9931e568a68b5a1c146dbdf1a6cdedda025ce88da68e64b54f1acd7a601fd48626de185be5af62a5b8d9c9daecb5012db0b562cfc37e20e028e2456df41132170f8f674ad10b8fada7f43f4899bc65505c17d70b0bbe68a47b323b0e307c02fa2d319790cf23266a45468885d22b2654b9fa6846b3a74ba8ded9c530315928673d09204473508672ff3e79b39129c6a21dd15232a354c57e043a7a097b931bcd23abdd67634d3ef3e06b8407fcd0db38df71b72e29f94103884d40070e0265e13fc6b5c80e815e204360781125c41a83302a598c166f4190b30d827d0fdc156b4b9d9ecbf07ee493fcafafb007bad3f73346f041b17b0d9aa92da8d7371db6b3a8837e28d6c83237f429dbff03d2563349dc27790f7a8d8f6e153a2a104db48b03e21bf633fb159cf18c259264966bf35ba65f7d712ea2b46104e7105e1efb77f80d53ab7ba9aebfb984ad02a7ed2ab2c3cacc10b2718f86f1d4063fac20906cf5fd6149c59eec62aaf7edd5c7146d327f71efc94740aaf385c4769d8eaa433f80fbc5465b8f63fc0654f052c7bff0b461448a1f98793662c9b1a7f5883fc05c1e92bc609f86c0d4ffb624424c335ca249dfcd1df1aa0c9f16ee6da4430211f2299c5f8d6e08efd7fb4751b04da9231e41a3204cab95229c6f31d991c7f91159b0483d9b8b126c109ce1ddd261f1ec006cb67c2dcc91ca4410a91a7e9ea33fa9a83e4e664acaca68e724c21213441b1902991249dfce873d85259b37c263a3a1ca8c1f6b5e15e6b77e544bbe70b9b2fb9cc50d11c16675e1c1e3a37162a1752ff60868a41b4a5ae6194981e514e25a6a0325dd9b0f017b214ec2e93e7132b94f6bdb772aeb7fbd8ec4edfec5b0e525c515d3fde30bb33e7ef6af740f487b056607ed400ba9610ce02d99c19bb83285715958d611170afd2406e0abb7d41c80086ad0cb6b0e9c39c4dedced434d0f4ec0ea8d1a0d6b933b4d2e880484d875ef573ed48e28cc40a0dc1c4c018026e45660d90d367383293c64af79e2aaad1554667ed253046befd75031f0b512c1bf4f99705804d30f4a739416f4149a298cdbc9b1f14922e0cd78936698d5e189a12b0cd70314678842983f37b845e10edf4f8445435d222c5f52faef806a46a6c40736fb2b2470fa7fd7f76814b742c49e5fab7f0b21f20a65d0b14136b04c65d5ef8d74089a210740f65744414bc1fda1e0c26566a04cccceebc03409ecc591dc0389e40fa79cc6b38024dae3e781ab5d864178d9cdb81a07bfaf6e0672debbe05f3fc539118e8926defe721eb543863c1e4be918a446d8c95c9ce60ce9e41b2dd82a4bd5d78cb9baa99873373f006989a05cfecca9b918e33d7c3ba9aac29700b280269b11972f9e9d543640dd4c20e722c776f7c2031aa407f42b76229c68ac08db71fa22bf7bfb7fb9613941bb0ded9e4ad781709893e631c268703db3f3b12418f7ffbead85a09bbf677cc99c069f0c0e892569fd3f9a58d366fe11a5ff126c74f9f5fa3e3b077f433f8d87da3a22a1df676bf3d8136afd3e199c6f08e6b6c6f673ad494a762ac504e58f5593d8d92bceced1ebc3cb29f6bc6b934bb52dc4d25e67d3b4c1bbddd0301d12269dfea81c0c58301eadc0c61b32cbe7df3ea37ee9c0c07543f3760f79d2c913be8f4c4fd9b9a120e096eaf16d68d673465d6d9b7aa47e95092e1466ff729551568eecf290315f91df15ecab9ceec3136b7d5df5428f5f70ded7dea0e1a4a5122abd0088e36a34134809da59244010fe0aa6e48c2b8d0765cde1146b022e80dfc3df7f8f7bed541f4e041b41534d350986ff4764ffc4fb0905325240dda79c59dc080b6700c6ec191619c481cfbc102d95261a591747d7196f55c8ce1559c2d1ee1b99bea252f16d3985191495ce5b5dfb9f7678ae6bab42f44a1ee20eb8f6544dd41a09d09f75cefb35c68bfa4520a6f5edf3db27fc086faca2b828efa6ce6192f5dff15d1c85408a3b9d98d5c6b4b1e432ee07dfd639ed93fd03b921986171ff1d6c889272aa5e02c8c8d1d669bbf6d328a54233c1c92445ba5a1b327f6affbacf37efac58fdd6a7103fcb339f1acf0be6fcc2024e6df2cd8ffafde9cddca8604832d503532c69bd8ad1cc20e7ca06b105b \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_22.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_22.txt new file mode 100644 index 0000000000..304b16c9cd --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_22.txt @@ -0,0 +1 @@ +000000000000000000000000080045000a229371400040069f627f0000017f0000011f9082844487eaee8b41fcea8018015e081700000101080a11cf196111cf19610d0a3965350d0a1370056801707cf252604490aa08c0d955e425b7617ef8ecb43aa44a3bb35fd73eaae1e65dbf62269dbdb979d7bd706343bc42633b8b8ded5cbbb1edc5c6b6afddd8d662635bd76e6c73b1b1cd6b3736586c6c70ddc6060f161a1b3cb87663f7171bbb3fd398330fe73bbb4e224c5648a320bfc43c55e03a9af7e24e745f746b73b3443bdbeab6d573ac191f6e529867681f13a472d07be0b806e99fbc119d268542168f1483ab58d1b4f1288f00058cb98ad0732a9586cd112305e02438e57b4b7fb5c2c25b0ba34d4cdc09b68c49baf1ede09bbdfde4f469ff22e9ed3a9b28983e37bcedd31b3cedfe7796bb5ec3bfa93a133c3aafb2deee32af4de763e2cf7a8f006b3a7ad758617e363b0356c582109f1ef1bef9720f3da64daf86180d719f5c00971b66a01d17f0c5e9acc562e61143fcd1ae26a01ffe6808d7ac467baa2029fa66627db876e3bd0d4b0cbfd1db3dc214b26323d80a3eab412d048306dfda0422e814fefc8cf61a8b115069ad1ee10fb4a09ff91058cfb1c9d4c253f64d06c6d9a420f28a8fb892aaf7d7b58e9f3a602674e8afc0c89386c68da70deef46f969ebf597aae62e9413f6353cf5b6b709959d9d38d7aaac22db1f4575268c82fecf3ef6e4c7a7236c936eef5c5e3e995e8f4e44db4894e8d169262b6005abbb6f79793b15ae1fa5d943eddfcb2b3a8e46b38655743a63fdf31eb9ebd8baee4a1552566acb77be30d0c1528c8cf46846be53cb48f377c9b53576d179ff53dd45b8db8ed6fde1d5417e817b404e30be67a82bfed0d6906389816c4f90a9ff6ccd0af1ebc4332d42d5bdfb66a70bfae37ae337dabc15fe53c3f3d04acc43fa8211399b0f08760841819ea87c88ed03c7c68f3dee64c518399f2680bccf41388c249886a8e131e003539faf71ac3421f94c0b5fbecc40ed11f43ce713fa830852cd0e149ef7a1b31a30178aa79e19dad191c766f45efaea1ecbc0360ff1ae560fb5ad61a7473f31e580ec12e881bb82d7a5b11de4464d886ab19c5f5e95c008bf5901d4c0268ac68ffda708236b7758efa68f39ece6de181282b63794821e24ad690949598d2d61d011711d02e01e8eb0e3ad8f372d31ebdd74fc41095df3223ef8633b2bf35583523d198a63a7f08fed3ea627e7a06b1278b7ae29c08f9e94ddfff1733743a3a73a3d0a789ddef82638a0dece89f439e8861ed8e2993718629f90ac080a933a983057d3a3fb7a2c174dade784c2d4cd07dcb273b5b0394db309927db9b77ddb46ab78cc8c3e177e6edbd2a7dbfd7738843b7e73c1900d6428c878631954842c0e0e29ee5f49b43b0617e2031e5583aab50a36207a09189d66c6f8335d55c08b4962c4507a28cd5fc550d90e30328014883d3df1a676024dc490ce0cd3156a096f848344ec6b0e0a703e51d29bf680c45deba4a79d11c8cfd8a1bbbb7986a415bbee40cb83489729a281c3889cbc2e061aa7e090e05cc297a491a2cfeee975f3cb87777e7d1c450e555c22bf561b425c98892b1532cdfd9dfe8f8e9f3ab3f7b3e9cec6f8bf5875faca7f3023a3092ceacd6fdbadb2a792e24190b69eda2eb57cbb394ead92bbfa625dab31934664eac7e454d01342e14d41a7561f94ccdb210500799cdbc69568bf9a00255979516a5bb38b51c64a0b35642290a27e704bb66878809a3ea26ce00cd40f79151304c93118ad0d782723f22e06886e7301030907c53118415825478ab97f2c4261522989647b481eb13814bf63aab69d5520efb30871f0bfab135d8bce7fb72e05ef1c7e8cdf283261cb7c0bc08765d7b9ef84c8972ed735f73e25d09fbc549817c61df1e1e548e53319e9451ce89f485f3a7c419cc2f9c4ff0122cb055ae1e2223d9ad9b2b55afe9f59be007b879fb119a6942928a600d7104fee75cad1bc40420c973e5901c23c941b83d44437a41d2b9da4a280a2ff710dd1dfcea911772900953cff57e72d9ddc1afe04a7fe15703109e5e5caebee1abc1af7acb0d9f57043ddbaf02ca673bfab9cd383add61b8d0fdc9f1fa07b0937a18f46c3cad9b2b0fd1667581b6aa0bfbef1783c1607aaae98e969ed8149f36f378d12f1642a86f3cae56f66773b63f68761dde076d7d693c70d3851b60d74c8cb4c97595f6019c0ed4320794a50a14c86813bccecd1e6285aab773034e52a654f0b3fbdbf7e6adc2361d040a36e6cfdcaadb4ffb6a75dc7b6376777f8d55bf1126bd56d3787382fcc2beccd9fdafb69b0f3f79f1be1659c6bcda526118d127bd2fe6c6c5bf8fbb106c4d0c578a40ee7418f7064c74cb0ef46d04713bb3268b31c1c5ee5392582205b4f5e00e0289332f5ea70b93a64f267d9dff1ecd73d1e407e5cbde1eacf97f31068b99f74cd9199612a037e99331e5f776a6115fa1357433e2384a59b051d99b362673b76fffeebbe94b2e08789b9c8d15e047983122d1ad7b3bfd98eadb337be3ea1e6d6f5da347db5bf33ddade5ad3a3edad0e3dfacc8e1c838d2e66e4cc75a5c2c3f9ee34f57b55a5be94247bd4b15b3050254e208a9b5dfdfb0975b131776e8d36d12b680adddb89d232ebedbe3d41bf419b83e89e55261986bda2b902ba87e0b2ee5dfce13ab8bdb5ae836efc3a7470b6535ef44fc3906e3d80e56f65c0ddeddbbd4ebd5632992a997ef241a6ecf872abb77b62adffe840a4a423e5c81a01fbb912f6c160b2b52e88d8467035b6f42b49dbb72c45a1c4dd8c36b7a2073f9cc87d30582772ff3f10b86e507f5212774d97fe9222b7e9cb4f52e6babefd9485ee5c0f7f3e52d77ff41f4dec5e51c6deff9164ec5c68509b9cbcff939793f3d8ff05b4c1141e75eba8811cd8c888db736696a56dccdc7b4279e6ef5c7d63cf06352c8ced8ce5bb6de2fc4807486b0e6ab6786fdc9bed214a30473130c8199e3646c3d91773777aa3d6b4a10614b270e0bc1e6ac0d2e678f4a60b1f50d1b9fa7546c4934db0ccba0bc22bbd7de75c6d0c296367298bced592ab776ffcf256f3d2b72349705adf1a1a6e1f7eebf6dfdf40c85429d6e42c65677e6aaa5bbd685143ba83daa549eff6a31bff78fbd18d991ef877057a482267b8ad74d9e7028215672393ad9d3627a837a4bc87c04d8db084133f383aadb5c2a63a01feee254c7dcfe11336d17e5e4ace88d0ca30a079c8726d67aee009a349f1a4a71229183b15a7a2ba75fb9124da488e869829f2a811a15f8063dd3703a6f4be95c57d534d707833c2abb7bb0f063e0d5e9d6ade21be3119063f2cfe6b026d879bf81be778845d696ff7c6084b7496e18fe889fbe71ffe01fdeef78f6ec0efa8322abff5bb9b678ae8bd24014feccd3be8e6b77bfd7b83bbdbf71ff4b76efefe767029b87d0a58c3e074b1d5377e796b6cf7f5db117ce0995981605ac0f3337ca664829ea09b136a40c522974eaa6ff99726709b0c47e7eae6a31b08fd32c2e7f8e2d6dfa30452a33c445a1a72c70ab353cb50d2f3af7807ec940f9b67fce3e2f45936dd67cc99e76a03684c40a04525e5cba77fdbddf6afebddaac6d426765876f786df03362c9ef6ff020000ffff030045bab2ed357e01000d0a \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_24.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_24.txt new file mode 100644 index 0000000000..f8c3ff641a --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_24.txt @@ -0,0 +1 @@ +000000000000000000000000080045000039937240004006a94a7f0000017f0000011f9082844487f4dc8b41fcea8018015efe2d00000101080a11cf196111cf1961300d0a0d0a \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_4.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_4.txt new file mode 100644 index 0000000000..c1f1725cd2 --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_4.txt @@ -0,0 +1 @@ +0000000000000000000000000800450000bde4374000400658017f0000017f00000182841f908b41fc6144878b3d80180156feb100000101080a11cf185511cf1855474554202f20485454502f312e310d0a486f73743a207777772e77697265736861726b2e6f72673a383038300d0a557365722d4167656e743a206375726c2f372e34362e300d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a20636c6f73650d0a4163636570742d456e636f64696e673a206368756e6b65642c20677a69700d0a0d0a \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_6.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_6.txt new file mode 100644 index 0000000000..971eff11b4 --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_6.txt @@ -0,0 +1 @@ +0000000000000000000000000800450002b5936940004006a6d77f0000017f0000011f90828444878b3d8b41fcea8018015e00aa00000101080a11cf192c11cf1855485454502f312e3120323030204f4b0d0a5365727665723a20636c6f7564666c6172652d6e67696e780d0a446174653a205765642c203036204a616e20323031362032303a34323a313020474d540d0a436f6e74656e742d547970653a20746578742f68746d6c0d0a5472616e736665722d456e636f64696e673a206368756e6b65640d0a436f6e6e656374696f6e3a20636c6f73650d0a5365742d436f6f6b69653a205f5f6366647569643d643864333762353265616133313337626466643766643637613466666338613761313435323131323932393b20657870697265733d5468752c2030352d4a616e2d31372032303a34323a303920474d543b20706174683d2f3b20646f6d61696e3d2e77697265736861726b2e6f72673b20487474704f6e6c790d0a582d4672616d652d4f7074696f6e733a2053414d454f524947494e0d0a5374726963742d5472616e73706f72742d53656375726974793a206d61782d6167653d33313533363030303b0d0a582d536c6f67616e3a204974277320612067726561742070726f64756374207769746820612067726561742073746f727920746f2074656c6c2e2049276d2070756d706564210d0a582d4d6f642d5061676573706565643a20312e392e33322e31312d373535300d0a566172793a204163636570742d456e636f64696e670d0a43616368652d636f6e74726f6c3a206d61782d6167653d302c206e6f2d63616368652c206e6f2d73746f72650d0a582d536c6f67616e3a20476f20646565702e0d0a43462d5241593a20323630613366373039643762303736312d414d530d0a436f6e74656e742d456e636f64696e673a20677a69700d0a0d0a660d0a1f8b0800000000000003000000ffff0d0a \ No newline at end of file diff --git a/Tests/Packet++Test/PacketExamples/http-chunked-gzip_8.txt b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_8.txt new file mode 100644 index 0000000000..435b5b9c1f --- /dev/null +++ b/Tests/Packet++Test/PacketExamples/http-chunked-gzip_8.txt @@ -0,0 +1 @@ +000000000000000000000000080045001034936a4000400699577f0000017f0000011f90828444878dbe8b41fcea8018015e0e2900000101080a11cf192d11cf192c313036630d0ad45ae9721b3992feafa7c8a1a39b52741d24d5f22189eca10ebbd5ad6b4c76ab2726261ca8aa64154414500da078d8e1887d967d80f9b9fbbff74df64936b20e1e1269f76177ccda11625502f9212f009928ec1cffe5ece674f8f7db73486c2a7a3bc7f50fb2a8b7736c42cd33dbe3a3ddbfdcdc5e9f0fdff45fff34d87b37611a96efdd77c6326dbf1b1c5ee769807a57e214ce98c5ddbd3d27141ca5bd880e9b4f5f744e4e9f3d3f3f6bb50ece9f9d9c341d966517d161fbe069fb45cb099510185aa50f9b98a357bdba2a9368bd50a54dc74c0e9badfd56bbe99c5d0f0fadcef1fdd1ee2897a1e54aee96524dbb532e2335754477eab1283a9fa0b497dc5894a89d9488d6b23029e84ed48d5498a7f468bacd52d9a663bb4da158d4745477a9a49375779b4a662cc68447d8e412a67b0e76b36f9a4433899a360fad73df8dbc5023b3782e908077cd9e33eb465e8cb6a29893f990c5d72cc55db3f78fd63f9da4bb5062bef74e7922fa6ed05ddaf0487919eaeefc9b39fd1ad2253a94b91047ef1dde5dd19f38bbeda3f747ca0b951a7324598a87a3faa1db7ca3b2378ccf6e598c1751b7750419b349d73f029c655ca3e936bf5afaafb5b7e759f5ea6a38b09acbb890a504ea8f2cea3314685746b9f79899cbb0db3ebaf78c0ebb4d9f1983d6f8f7c62ffcf826d06a6a50a768359f79a1776f9a47332f631aa5bd56117a5c1ad4f604474ae3eebd33db3be2a35db1f74eeca2933823260c16a48c48d6e135e9fd7b1406818f76d3bd772979aaf9153a49ddb7a2588753d7f77bbb7b47ef77008efd2ac0778e53b40c126b33177fcef9a47baaa44569dde13c4308cb976ec3e2ccfa34458e204c983668bb3f0c5fbacf1bbd9d63cbadc0de1d1931617a0cbffc37bc5270869879c77ed9b8732cb81c8346d18da471338d23b4610289c651b7e1fb2325adf162a562812ce386e2bee17f948dddb3d96fe7aa063396591efe4a1e63443590cb241373cbc35f3bdcc649bdced73089d236cc2df050c946cd5a05114f699ef92336a1568f87aa01769e61b751b4f833b7e0aa7db9f0d9944736e94638e121bac58b035c72cb99704dc80476db5eab0192a5d89d709c664adb872073346507966502dd54055ca03bc5c06559e6862c63c1ba7b8d9d0b3409a27da0854d3045b7d36a1ff8a131be99721b26a8bd944b2f34a60129469c754da811658d58403437c707c17c33622917f3ee40e53ac4af064c9aaf6eb53aecb45ace7eabe57cdd6a394f5b2de759abe5bc2869dc32c1436aa99e9ed64fcd870a14466e16a11f1ad3fc3d6a064a596335cb167afe1e94e2f5c396fa2d70a1124abb118e582eacf974b866ca6c98b8d384db4f296d6eac4a3fa98481c8f193ab1d6b36ffe4a08160e1f8f378e8b362c784f299b035469f0eb95c59b6c11528bd4045f377010bc7b156b98cdc62fe1c3ee91c7482cef3f7c77ed9ab4e1a813280cd9b5341f3050f8c7fff738e7aeeb7bd175ebb7a29a4b8378ddecaeeec57f9288900a160c674a5d229132e35a0eeed1c477c023ceaa6cc58a255bd1a924d02a6a1fc71cbcdceb52a83555b2e9b79389e37402b81dd8049b9402ed1683b60fc21b5625e4812e4d62a592e9bd5f39a30ae55712c28ab10826506a30644ccb28adcadc91591e9186dd74b19976ec94f26ce580d4a9b9e4bd4639fa87fa8d12fc5eded1cb33a5c1aeb4a069a4972044fe3cac18fe3a9daa8a77526f446a85879998c1bc44239d3afe6fa6b67468cd099358009db6dd0bee133fa13f1496fe758b2da0b8d85dd2a5117ef2ba6ab5c2bd984c78cd2e6dece712e56dc5333af3c6a1e27b6dcafaa8e915659a4a66b767a22716a1abd6b9c9a4a40c13fc2f3a4f1a0ad0e8cd56858f0bd420bfdf0e79c71693182d291c594eb3668f6ba86bfc54368b7b2d951a3f7e59359e7e0e4b4f26c29d142d1c57829cabc10b2b7a2080b546eef068d5e9f1e8875a1cb6a3702a032a9d13bab9eb674a5a4da1cfa7e2054ec2ddceb291dfb8dde8950f10a9f9f8bcf64ba6f51649fcd68b58acc8c1f69d8376360f0b71c0dc5db7a6cacd873c47ef6a8b068f45ef6ff66b6768b54687c327959b6b20f620a6e2cf5be625c701903d5c1dba1ad52827adf48c125c2905eb775ae159ef2317fa4f11d1ff38f3106796c1e07431ec350b3708c7a95fff304c5194e50a88fc604fcfe99149523546ea520bc90132526187dd4acd3e903e3147e9f9a287e43686fc22497638c2812ca4150370dbcca79841fc30ea9cc5e07d748758f1f733bc5e09bacbb6c8db93d625dab111bbd93a276079b209caa8f8fb34987729df0596e55ca2c468dde25b3682c9ce45c44e6f7389d86ab46d37c823ac0a848311abd9b5cc32053d228fd6b57e40aac107984c6ae2bd0e80de8f1251a5b01aec8583d4b36596e4ed54f959954b5e42602d3968765ee84c5694ebd23d5afab69305444972a32d7242c52d3058d53ce52111b7554672c8ab88c0fe1792b9b35d672979574aec8f96a96157ab1311f42aec56e73fbbe9da8145d2ead56de7d1637f78e6005426386cc1e8254d5e35a6b39df423541bd462f4fea68993b84119f61b4d69a29c349e54338687d7154a550c541e49af48b6e07ad2fa867d5f1598b92403750d6aa743bc3b3d6178d7547568e596120b9059b43acf9e2c57dd6024a601ff26d4e20b59aaea3874ab869e4b63b50f83844695137aa6359d475372c0f145dcb842872da9a50e5c6a576748811a15ce699a59154c6426ee787ed92588ef190da6eadd9a96e6dad8babd5142a6c655c26795aec4bddc606a21ba160f332917bacf1d7f0805e6b44c199a76b4a56a44ac91543c1ea789be41ab1082fe40fd956e9bc9679e06e358340cddcc2e3c5536962f8807cc561562dde9a48eb3350cddc284fd3f9225cd8caa8e5845e8fad76ab3e1a5b26611be66d559ee10bfa7f4483725a75a8e8bf08974bcc88c188b9cb6ceed8e70f72eca4bd48904ba50325c8083a428dcb07d7a44c0872609d1052ddd62680fd1aa0dc0607148018c1b59a1efbc9fec605f3df332eda07bf32303ea18f05322def067fd8c58152e34fe2de4b1268936fbf976a2a308a11b8815b35a534eeff957bf7ff7cefd6d5d61ff52e6d952ac5629ff8043e7ea5e004e74a6e9cc377dc26f0bacab6608861229550f17ca3b7fdc5b9c8037af553652e2bb90f8fba9555b6a441c5994de38f6dac8f77d3d550fac0ceba69457fb4c56e88bbad5157ec354b07053c8e5143c2b82eeab0c74eaa63b0a8cf61f1c1a9f694bf7624568555ca74cc6525fb21748ae26661bbca281f65f90b4fe9eb0893f608aa66abb243f87aadadf1701657e9c8f60ce5d7cddc4b1cd90f5b71c5d39605017d9401cb0261dc00859a36369df6b89605a63e816381e9d29fd53a8185964f7059e03c69efbf78de39d8df7ffab5db769fbe583fbdb32c581e9c6caa8f56d93beed3a78fd95f22b3b946f33184834ee7a04d20b49c3c9261ca746480c908fa61a8048b36013ee05a0cd0d9fffaa0d1ebe73651da6c39d779d2a67f8f475e2b92d6aaa3a57b2c0bdcf57a68e936376312815c0e5c4269fd062d0a0fecbeceb83a43374ed84d712595c40f4754569c7e6b25e3e5975d3ae92e28b4cd51393c555a444d03f4d13a55c682443b557a0c995656854a40f1b1f42d6a0f2e2c08b406e62a078308d384d9a6818465194a3aa45192daf40283596090f2502b13aa8c8720a8e22f80aae123b2566815ec92b7d5c8a224da7dae710f8c6532623a024608065226e7c065941bab39960182511e169a33015c1acb6d4e6fc6db39f6b38f1aa13ae6206b834da80827b1981c1bb0aa10903cad795082821ad5ba91ba38cb505b538b47dd63a1025c5590f8b9cccba5568d809161ef31a4f1980553a5935c42fbc58be7b5d45b938eb5187b18593425ff0d222b610618681e26302a97033068619a1085cb50e41196c6192921d494cafb4aef62aa09dea39b07e4ceacda3cd508925c461aa3c207756c1a07a6b49fa74a2304483e6151841150264003589ee272fa5ff20942c8b242a432de46c53e5584b8e166d97550879e4d346269f28c4ef72c54f740967daf7261b99b0966474aa787f03aa748917057dce6310e5c7299cf1cb819c04f0e0c94609a1b075e6ac493c19903d7688b5f92a808716513d42bc29c9622478b7945ce81904908b01227820967c0e0d50f170e285dbc910186c3bfbba98a1086c5d206b9e582dbf9127b982014f33ea39c77940b88b8c9e84c60c485456d283409a99a772bacafc99f3faa8bdb0df67b8d2cf2a79abe4f152a457c3442ba29b3b0ff880b0a009d326b0ec1865994a719ec0a1e6421cbf61cb80d5906d7af1c38659665b9b070763aecb45a2d074eb909150c3024a08bb301f04ca8d881ab62a951234b362d2c75a524b74a3b0bc22bba4cc5040c6421d12fff82dd50a5994643462417e47249d873563ade6a553ae91aed4f9acd7ff9d712f6421aab8b636d033781413dc172d041f11d128c542a73e05a4d5008b8ec5f976baa03affb67a7375770d7bff62ffbd7d09775c3205129b7dc7fc925374cc320d7139c932a431cd34ce333f8bedd99cd1cf8919b9c895a1653bfff900d798a0edc7111dd16b16be09c42eb1671ec0fd51865f1d4e75ad1c3c723b0709a81158315d32f7ecbb33a1c235c695565e88cc4fcc1245c0d604d5f3c475aa5a57012ad0317e7e7e7f0bcd5f1da6d076e6f6ffd6fcf2e4f1de80faf1c3811395aa5e82acc0f8313070a45e0359731cd299622bca695ca8197676717a54ea53ab01b6186325adda9ea59bbb714f00c433dcfca9c3dcf282fa4302dedb2b2f0940b19615ddc1a0c1db818f4bfbfba75e07b2a2db4320e0caeaf6e27fb0e0c0697fef072e0c0ddf96d29d0dd6ddfbfbbed77562c4c0513a1e9bc3071691bbab2c331aa37a36a05a26f23854c3fe73c1c932836e7946a6c988837b9cd725be3e18cf429017fbaba74e056190a519e598ae6d3c18fc5ea910946b31e6776fd84f837ef4a2b69de9fb6316d385dc729e2b8bc70e433bf588e5d2623f72643e996178ffc6182ee9532d6bda86b81a2b96c75fb59665c3572fb42b834abfc03bfd1c33bc431fcef7ffc27d02a4accb06086156c206edab7fa42c0b0d89228990df46669b330657179d7a03c5beff82da7f3bcfdcce9ec3f6db5f69f3bad96c74cd6e8dd9ec2158bd95bdac3488cf38816bba681d344f1b01866eb28865b64d1841ba58bb1e87de51376f9d1e02aec8f1061c02df6cbbedb45a74297bebb551fc42ea429d667ef46c7e0d3625db6dee8b8cae57f6ba24389fd9f1245b628be9682549518ba8b52b97a2faec8d0a77962d2bd639bd0c508fad8d6edf46e348f39a5a5652972ecdba477ec5b5df78d7aaf68278ae054a5818163df4605f54b618fe2a2e51ffde13fd71cf2656c8fca7e2b38ab639ed6d96a51fa3c1e908b00b585d72ce51adfae0fa9594a033291a7927b9a87e861946f1c32ea0d13953203278595d770e8a257697c42132c98d9fa9085637185660be469a2e9e88d495cc30b89ec5128fc46bc6fe90e8c81d71e9c284cd6854c8a36020ca86dab6da3de151f237ccb8458e34ff9b810276142bc55123d89760bc0890a14bc66f718ae21042a50c5f826a3b0329443cad833e32d30972c2fd2a733941cd78511659317154d043ad288de486f813a53122ed9a83a757a0045e456874042e9856c0bc4ab7c0e \ No newline at end of file diff --git a/Tests/Packet++Test/Tests/HttpTests.cpp b/Tests/Packet++Test/Tests/HttpTests.cpp index 11b0ccf5fd..97a200f9c0 100644 --- a/Tests/Packet++Test/Tests/HttpTests.cpp +++ b/Tests/Packet++Test/Tests/HttpTests.cpp @@ -512,21 +512,45 @@ PTF_TEST_CASE(HttpMalformedResponseTest) /// Tests HTTP packet reassembly PTF_TEST_CASE(HttpReassemblyTest) { - timeval time; - gettimeofday(&time, nullptr); - - READ_FILE_AND_CREATE_PACKET(1, "PacketExamples/HTTP1_chunk_1.dat"); - READ_FILE_AND_CREATE_PACKET(2, "PacketExamples/HTTP1_chunk_2.dat"); - READ_FILE_AND_CREATE_PACKET(3, "PacketExamples/HTTP1_chunk_3.dat"); - READ_FILE_AND_CREATE_PACKET(4, "PacketExamples/HTTP1_chunk_4.dat"); - - pcpp::Packet chunk_1(&rawPacket1); - pcpp::Packet chunk_2(&rawPacket2); - pcpp::Packet chunk_3(&rawPacket3); - pcpp::Packet chunk_4(&rawPacket4); - - PTF_ASSERT_TRUE(chunk_1.isPacketOfType(pcpp::HTTP)); - PTF_ASSERT_TRUE(chunk_2.isPacketOfType(pcpp::HTTP)); - PTF_ASSERT_TRUE(chunk_3.isPacketOfType(pcpp::HTTP)); - PTF_ASSERT_TRUE(chunk_4.isPacketOfType(pcpp::HTTP)); + timeval time; + gettimeofday(&time, nullptr); + + READ_FILE_AND_CREATE_PACKET(4, "PacketExamples/http-chunked-gzip_4.txt"); + READ_FILE_AND_CREATE_PACKET(6, "PacketExamples/http-chunked-gzip_6.txt"); + READ_FILE_AND_CREATE_PACKET(8, "PacketExamples/http-chunked-gzip_8.txt"); + READ_FILE_AND_CREATE_PACKET(10, "PacketExamples/http-chunked-gzip_10.txt"); + READ_FILE_AND_CREATE_PACKET(12, "PacketExamples/http-chunked-gzip_12.txt"); + READ_FILE_AND_CREATE_PACKET(14, "PacketExamples/http-chunked-gzip_14.txt"); + READ_FILE_AND_CREATE_PACKET(16, "PacketExamples/http-chunked-gzip_16.txt"); + READ_FILE_AND_CREATE_PACKET(18, "PacketExamples/http-chunked-gzip_18.txt"); + READ_FILE_AND_CREATE_PACKET(20, "PacketExamples/http-chunked-gzip_20.txt"); + READ_FILE_AND_CREATE_PACKET(22, "PacketExamples/http-chunked-gzip_22.txt"); + READ_FILE_AND_CREATE_PACKET(24, "PacketExamples/http-chunked-gzip_24.txt"); + + pcpp::Packet chunk_4(&rawPacket4); + pcpp::Packet chunk_6(&rawPacket6); + pcpp::Packet chunk_8(&rawPacket8); + pcpp::Packet chunk_10(&rawPacket10); + pcpp::Packet chunk_12(&rawPacket12); + pcpp::Packet chunk_14(&rawPacket14); + pcpp::Packet chunk_16(&rawPacket16); + pcpp::Packet chunk_18(&rawPacket18); + pcpp::Packet chunk_20(&rawPacket20); + pcpp::Packet chunk_22(&rawPacket22); + pcpp::Packet chunk_24(&rawPacket24); + + PTF_ASSERT_TRUE(chunk_4.isPacketOfType(pcpp::HTTP)); + PTF_ASSERT_TRUE(chunk_6.isPacketOfType(pcpp::HTTP)); + PTF_ASSERT_TRUE(chunk_4.isPacketOfType(pcpp::HTTPRequest)); + PTF_ASSERT_TRUE(chunk_6.isPacketOfType(pcpp::HTTPResponse)); + //PTF_ASSERT_TRUE(chunk_8.isPacketOfType(pcpp::HTTP)); + //PTF_ASSERT_TRUE(chunk_10.isPacketOfType(pcpp::HTTP)); + //PTF_ASSERT_TRUE(chunk_12.isPacketOfType(pcpp::HTTP)); + //PTF_ASSERT_TRUE(chunk_14.isPacketOfType(pcpp::HTTP)); + //PTF_ASSERT_TRUE(chunk_16.isPacketOfType(pcpp::HTTP)); + //PTF_ASSERT_TRUE(chunk_18.isPacketOfType(pcpp::HTTP)); + //PTF_ASSERT_TRUE(chunk_20.isPacketOfType(pcpp::HTTP)); + //PTF_ASSERT_TRUE(chunk_22.isPacketOfType(pcpp::HTTP)); + //PTF_ASSERT_TRUE(chunk_24.isPacketOfType(pcpp::HTTP)); } // HttpReassemblyTest +