azzlack / Microsoft.AspNet.WebApi.MessageHandlers.Compression

Drop-in module for ASP.Net WebAPI that enables GZip and Deflate support
Apache License 2.0
194 stars 54 forks source link

copy compressed source directly to destination #44

Closed turbodrubin closed 7 years ago

turbodrubin commented 8 years ago

As @phil000 pointed out in #41, there's no need to use the additional buffer; the compressed source buffer can be copied directly to the destination.

Note: this is my very first-ever PR, so I hope I'm doing it right and following appropriate etiquette. Thanks!