[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


and it's faster than nginx!

https://github.com/aarchitecture/brighttpd

idk, wanted to show this off here
also feel free to share benchmark results on your machine
>>
>>108736182
>c++
cve goldmine
>>
>>108736182
>not written in safe language like rust
yikes
>>
cute
>>
>>108736182
>it's faster than nginx
so it has a reverse proxy feature?
>>
if you dont use fdm=markers and gvim writing 3K LOCs youre nocoder, vibecoder or silly autist

first it should be C code. second, it should be markers for navigation. third, it should be no libc integration into PHP runtime (ye, i know its retarded in current state, but there are no alternatives to it) as an extension, so the runtime can control it, like NODE does. that would be novel software. if the C is not an option (you absolutely nutz about ++ style), then it should be c++ based runtimes, like all the rest, though, it wont be novel because those retards rewrote those multiple times, like in NODE, started with http parser (nginx based) => llhttp and all in separate modules async avare.

so nobody (only retards) make standalone web servers anymore, they arent needed and a sign of springtime syndrome of mental retardation
>>
File: foreman-house-md.png (148 KB, 498x376)
148 KB PNG
>>108736591
something tells me you're the syscall anon but you critiqued rust which is supposed to be the troon language.
>>
>>108736182
nice project, which LLM gave it to you?
>>
reminder when zoomers say made they mean stole
>>
>>108736182
Given the name I guess this is inspired by darkhttpd?
>>
now run the security tests against your server
>>
>>108736627
my first time on 4chan, actually
i have not much to say other than it's worse than i expected
>>
>>108736638
>>108736643
this was written by me and not whatever retard LLM was released 2 days ago
>>
>>108736646
i'll add fuzzing soon
>>
File: shrug.gif (12 KB, 220x175)
12 KB GIF
>>108736718
lol, what did you expect? It's like going to skid row and being surprised there are crackheads.
>>
>>108736512
i use helix, not vim

second i have no idea what literal webdev mindset this is but uh standalone webservers aren't really obsolete, nginx/caddy/apache/lighttpd would literally be unmaintained and unused according to whatever the fuck you were trying to say

plus, it'd kill performance to do whatever slop you're asking me to do, like this is the most larped reply i have ever read, first with vim, then with using C++ instead of C (to be fair you did get that right, C++ is shit), and then with whatever the fuck you were saying about php or nodejs while *still* being the same person to argue for the use of C over C++, "be close to the machine but also abstract stuff thank you" is a... great claim, wow
>>
>>108736229
>>108736298
rust use doesn't correlate with lack of CVEs or whatever, rust can be unsafe if you write shitcode, and i personally dislike it due to the dependency situation and how everything relies on like two big ass crates, i'd rather stick to C++ or C for this project

overall i'm not used to rust and even if i was the dev friction would be too high
>>
>>108736741
idk, i expected very little but somehow the literal script kids i've seen here managed to surprise me with the sheer quantity
>>
>>108736645
this is a old project i had sitting around that originally was a multithreaded version of darkhttpd for my personal use but it kinda went way further than it was originally meant to because i wanted to try squeezing more and more perf, so i got here
>>
How does it compare with existing solutions apart from performance?
I don't care too much about speed, more about reliability and ease-of-use. I'm probably sticking with Boost::Beast but it's a cool project nevertheless.
>>
>>108736804
i haven't personally used Boost::Beast but i can say the following:
brighttpd is like nearly standalone excluding openssl as a dep

it's only ~3K LoC with a simple state machine, i'd call that reliable

the config is tiny, 10-20 lines and the binary is probably much easier to run than setting up Boost::Beast + Asio + your own SSL setup + io_uring integration

and finally! it's silly.
>>
>>108736824
scanned it with ai and it found hundreds of CVE worthy shit
better luck next time
>>
>>108736182
HTTP trailers... forgotten...
>>
>>108736868
:( awe man
>>
>>108736868
scan mine too plox
https://github.com/Liteb0t/Mediaboard
>>
>>108736868
:( awe man
>>108736873
i... does anyone even use http trailers?
>>
>>108736182
but can it run CGI/FastCGI scripts?
>>
>>108736913
i thought of it at some point but nah, i'd rather not because they're both cancerous to implement

brighttpd will eventually have reverse proxying so that's probably the best way for you to use it w/ cgi/fastcgi
>>
>>108736743
>i use
doesnt matter, wheres markers

>i have no idea what literal webdev mindset
you use webdev runtime as an editor and have no idea, yes you have no idea

>it'd kill performance to do whatever slop
root of all evil, learn it, or stay retarded

>C++ is shit
listen to what you say, you smear yourself with shit and hopelessly confess being silly. you need a kick in the ass. my boot is good enough for that. you must thank me. i may even give you a telegram link if you kneel.

>about php or nodejs
because runtimes are the future. even ack-tropic buying into it. im not sure youre sane enough to understand importance or unimportance.

>be close to the machine but also abstract stuff
yes
>>
>>108736933
helix is a webdev runtime, never knew
>>
>>108736933
>because runtimes are the future
why? is it because of http3 or some shit?
>>
>>108736182
im not even take a peek in the repo and guess it was vibecoded
>>
>>108736957
nope
>>
>>108736967
darn it, my 80% success rate just plummetted to 66%
>>
>>108736933
doesn't 99% of the industry use shitty slow nodejs/php code and throw it behind a reverse proxy? defeats the point of integration
>>
OP here im trans btw if that matters
>>
>>108737159
this is not me by the way. as proof, the same ssh key on the github attached to this post signing the words "i am not trans\n":
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAg/Y1rQ6rIqh8RE/FSdAKtbzK/IB
OdlET3eX7EQtOnMYcAAAAEZmlsZQAAAAAAAAAGc2hhNTEyAAAAUwAAAAtzc2gtZWQyNTUx
OQAAAEDxVA2t2CI0pQfrsyDJCDI1vePuwpWnlYxdtB4Ue4WpUeZytrbmVVWQ2iO2bZrqh7
Ons2eob46xRlV93BA5KzIB
-----END SSH SIGNATURE-----
>>
>>108737470
lmao. "OP here im trans btw" is a old meme. You don't need to use an ssh key to verify that you didn't post that, though bonus points for creativity. I did verify it was correct, so your penis is attached to your body.
>>
File: 1750475631581200.png (382 KB, 732x726)
382 KB PNG
>>108736229
>>108736298
>>
>>108736718
good, time to leave retard
take your trash code with you



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.