How do I configure Apache2 to allow multiple simultaneous connections from same IP address?

前端 未结 1 1356
轮回少年
轮回少年 2020-12-03 05:01

By default, Apache2 seems to allow only 1 connection per IP address.

How do I configure Apache2 to allow multiple simultaneous connections from the same IP address?<

相关标签:
1条回答
  • 2020-12-03 05:32

    I discovered the answer to my problem. It turns out others have encountered this difficulty before:

    Simultaneous Requests to PHP Script

    The key detail is that file-based sessions in PHP cause all requests from the same client to be processed sequentially in a queue, rather than in parallel.

    In order to solve this problem, it is necessary to make a call to session_write_close() in every PHP script as soon as session handling is finished.

    -- David Jones

    0 讨论(0)
提交回复
热议问题