You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a client side code with "content-length" header. On the server side Heraders.ContentLength property returned -1 (why not 0?) and char[] buffer = new char[contentLength] failed with exception Cannot create an array with a negative size.
The text was updated successfully, but these errors were encountered:
Please take a look at rfc:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
I had a client side code with "content-length" header. On the server side
Heraders.ContentLength
property returned -1 (why not 0?) andchar[] buffer = new char[contentLength]
failed with exceptionCannot create an array with a negative size
.The text was updated successfully, but these errors were encountered: