Imported Upstream version 5.4.0.167

Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-08-21 15:34:15 +00:00
parent e49d6f06c0
commit 536cd135cc
12856 changed files with 563812 additions and 223249 deletions

View File

@ -25,15 +25,13 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#if SECURITY_DEP
using System.IO;
using System.Net.Sockets;
using System.Runtime.InteropServices;
namespace System.Net {
class ChunkedInputStream : RequestStream {
bool disposed;
ChunkStream decoder;
MonoChunkStream decoder;
HttpListenerContext context;
bool no_more_data;
@ -60,10 +58,10 @@ namespace System.Net {
{
this.context = context;
WebHeaderCollection coll = (WebHeaderCollection) context.Request.Headers;
decoder = new ChunkStream (coll);
decoder = new MonoChunkStream (coll);
}
public ChunkStream Decoder {
public MonoChunkStream Decoder {
get { return decoder; }
set { decoder = value; }
}
@ -173,4 +171,3 @@ namespace System.Net {
}
}
}
#endif