HTTP byte range protocol client behaviour on iPad/iPhone

后端 未结 4 579
陌清茗
陌清茗 2021-01-04 07:46

I was testing a HTTP servlet implementation (kindly shared by BalusC) which supports HTTP byte range requests.

I have found some peculiar differences between differe

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-04 08:15

    First of all,

    spending loads of time just calculating stack traces

    is not going to calculate if you are not gonna call get/printStackTrace(). turn it off the log or catch it and avoid it somewhere.

    I had the same problems, it didn't go away for me either. Well, those are really stupid choices to make but you can use a load balancer which is accepting connections and redirecting it your server tomcat or glassfish whatever you are using. i observed this lack of broken-pipe behavior when i started to use ELB on AWS. NGINX or Apache could do some frontier communication for you.

    I am saying this because even the operating system could be the reason why JVM doesn't receive proper TCP communication shutdown because of the JVM implementation on the OS.

提交回复
热议问题