mbucc / tinyjhttpd Goto Github PK
View Code? Open in Web Editor NEWA Java HTTP server that does not need much RAM.
License: BSD 3-Clause "New" or "Revised" License
A Java HTTP server that does not need much RAM.
License: BSD 3-Clause "New" or "Revised" License
see document how the default Executor works first.
i could not tell from the javadoc, so i'll need to dig into the code.
a client can set whatever charset they like in the content-type header.
at the same time, the base handler takes the body as a string and converts it to UTF-8.
implement one that logs DEBUG and INFO to stdout and ERROR to stderr.
(the default logger you get with System.getLogger logs everything to stderr.)
most java programmers don't use stdout/stderr much,
so this gives them another choice.
These levels should only be output if the envvar DEBUG is defined.
hit server hard then check ps output
look into if using max heap knob can get it below 22MB. update docs/readme with results
also, see how hard it is to measure the depth of the TCP request queue. I'm curious what that looks like.
The server currently binds to all network adapters.
Change this default to localhost and add a host command-line parameter.
Copy thttpd command-line rules and add a Scanner to support any argument order.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.