EmbeddedSources/iAsync

httpBodyStream copy is shallow in JFFURLConnectionParams.m

Closed this issue · 1 comments

https://github.com/EmbeddedSources/iAsync/blob/master/lib/JFFNetwork/JFFURLConnectionParams.m

copy->_httpBodyStream = _httpBodyStream;

Since NSInputStream provides access to some physical resource it may be dangerous to share it between multiple requests due to data consistency and "multithreading racing" issues.

Fixed