5.4.5 uploadServer
uploadServer process manage finalise the upload process into the server’s cache.
Process conceptual model:
- Events in
<upload>
from uploadClient (see uploadClient): receives a socket query providing an archive and asking to handle it into the cache.
- Processing
- if archive is already indexed into the cache returns
313
,
- add the archive to upload as a remote supply into the cache index,
- extract demands from the archive, and consequently copy it into the cache directory,
- remove the upload archive’s remote supply from the cache index,
- returns
210
.
- Events out
extract()
to extract (see extract): internally ask to start extraction.
- Data in
Code:
- src/server/upload.c