ChangbaDevs / KTVHTTPCache

A powerful media cache framework.
MIT License
2.35k stars 435 forks source link

Add Custom Port Method #120

Closed swlfigo closed 8 months ago

swlfigo commented 5 years ago

Add Custom Port Method 添加可自定义Server端口功能

mtrezza commented 4 years ago

@libobjc Can you please review this PR? A custom port method is essential to running the server as I understand it. What if port 80 is already in use by another app's server?

I think the server should include logic to find an unused port if the port 80 is already in use. Otherwise port binding would fail on some devices.

Here are the issues regarding this already reported: https://github.com/ChangbaDevs/KTVHTTPCache/issues/103 https://github.com/ChangbaDevs/KTVHTTPCache/issues/112

swlfigo commented 4 years ago

@mtrezza i think this is a KPI project and never update/merge again 😂😂 but anyway, it helps my project and didn't trigger any bug now...

mdeora commented 4 years ago

Hey @libobjc Can you merge this PR? If you found anything wrong, please comment otherwise please merge it. Our you can add me to the project I will merge it.

libobjc commented 8 months ago

3.0 supported.