irods / irods_client_s3_api

C++ S3 API for iRODS
BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

Manual parsing of chunk header logic should be updated to use asynchronous calls. #102

Open JustinKyleJames opened 7 months ago

JustinKyleJames commented 7 months ago

In putobject.cpp, the normal flow where boost http is reading bytes from the network (the body) and writing to iRODS or a local part file, the read was updated to be asynchronous instead of synchronous. This was necessary because using both async and sync causes conflicts on the socket.

This same change needs to be made in that file when we are manually parsing the chunk header.