Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Rewrite http server

Open RohitKushvaha01 opened this issue 4 months ago • 7 comments

Check for existing issues

  • [x] Completed

Describe the feature

I’m getting tired of the endless bug reports caused by the integrated HTTP server, which started after the relative path PR was merged.

Using raw URI strings for the HTTP server was already a bit awkward, but things got much worse once relative paths were introduced, leading to unpredictable and inconsistent URI handling.

Switching to java should resolve these problems and make the implementation more reliable and less error-prone.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

RohitKushvaha01 avatar Aug 28 '25 15:08 RohitKushvaha01

NanoHTTPD Would be kept, or it's a whole rewrite, along with having your own implementation of an HTTP server

UnschooledGamer avatar Aug 28 '25 15:08 UnschooledGamer

NanoHTTPD Would be kept, or it's a whole rewrite, along with having your own implementation of an HTTP server

NanoHTTPD would be kept

RohitKushvaha01 avatar Aug 29 '25 01:08 RohitKushvaha01

By the next beta, will it be done?

sebastianjnuwu avatar Sep 05 '25 16:09 sebastianjnuwu

The terminal cannot run 2 tabs (one API and one HTML) the second one always closes, so running HTML is good, it doesn't work on my device.

sebastianjnuwu avatar Sep 05 '25 16:09 sebastianjnuwu

The terminal cannot run 2 tabs (one API and one HTML) the second one always closes, so running HTML is good, it doesn't work on my device.

This won't be helpful for those, Its helpful for problems like permission issues, infinite loading issues with http server.

UnschooledGamer avatar Sep 05 '25 16:09 UnschooledGamer

By the next beta, will it be done?

Probably no, it will take long time

RohitKushvaha01 avatar Sep 06 '25 01:09 RohitKushvaha01

up

sebastianjnuwu avatar Oct 03 '25 12:10 sebastianjnuwu

Reverted to old http server

RohitKushvaha01 avatar Dec 14 '25 12:12 RohitKushvaha01