Skip to content

Instantly share code, notes, and snippets.

View SumitGA's full-sized avatar
💯
Back to Work

Sumit SumitGA

💯
Back to Work
View GitHub Profile
/*
*
* A simple S3 library written because the other implementation doesn't meet needs and is outdated.
*
* What this library is good for:
*
* ** Can send files any size (although S3 is currently limited at 5 gigs)
* ** Streams files from disk to socket -- minimal memory footprint and very efficient
* ** Uses sockets to support 100 Continue (especially usefull for large files)
* - the body is only sent after amazon approves the signed header