How to prevent packet fragmentation for a HttpWebRequest

前端 未结 4 837
Happy的楠姐
Happy的楠姐 2021-01-12 05:02

I am having a problem using HttpWebRequest against a HTTP daemon on an embedded device. The problem appears to be that there is enough of a delay between the http headers be

4条回答
  •  忘掉有多难
    2021-01-12 05:40

    In the end the vendor pushed out a firmware upgrade that included a new version of HTTPD and the problem went away. They were using BusyBox linux, and apparently there was some other problem with the HTTPD implementation that they had suffered from.

    In terms of my original question, I don't think there is any reliable way of doing it, apart from writing a socket proxy. Some of the workarounds I played with above worked by luck not design (because they meant .net sent the whole packet in one go).

提交回复
热议问题