mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-09-03 15:26:13 -04:00
This is a complete re-design of the serverObjects data structure which holds all data that is submitted during http post requests to YaCy. Before the change, post attributes had been stored to Strings which cannot be larger than 2GB. Furthermore, byte[] uploads had been encoded to b64 Strings to fit into this data structure. Those strings are now replaced by a new data structure, ChunkedBytes which is an object that can hold more than 2GB data using a list of byte[] objects. All required streaming functions are implemented and streaming from http post upload into this data structure works. The b64 encoding has been removed. The ZIM and WARC reader make use of the new data structure.