Search found 4818 matches

by idle
Mon Apr 15, 2024 9:33 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

PBJim wrote: Mon Apr 15, 2024 9:26 am
idle wrote: Mon Apr 15, 2024 8:37 am Thanks, replace it with 255, I'm still using pb 6.10 b6
Thanks, yes that's fixed it, it's working well.
Thanks for pointing it out.
by idle
Mon Apr 15, 2024 9:12 am
Forum: General Discussion
Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
Replies: 12
Views: 517

Re: PureBasic v6.10 is producing a file size 5 times bigger than v6.04

I know Fred was reluctant to do this but he did it out of necessity, he would still like to see 19kb exe for a hello world console exe but it's just not realistic when half the libs we depend on have capitulated and moved on to linking to the UCRT.
by idle
Mon Apr 15, 2024 8:37 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

Thanks very much Idle, there is the below code which won't compile, as it's attemping to put -1 into an unsigned .a Structure ST a.a[256] EndStructure Static skiptable.ST [...] For i = 0 To 255 Skiptable\a[i] = -1; Line 520: Overflow error a 'ascii' (.a) value must be between 0 and 255 Thanks, repl...
by idle
Mon Apr 15, 2024 6:00 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

Added to github with test site.
https://github.com/idle-PB/atomic_webserver_3
by idle
Mon Apr 15, 2024 4:29 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 325
Views: 40042

Re: PureBasic 6.10 LTS is out !

Great job, thanks! Can you make the output file smaller? In V6.1, it's five/six times bigger than before. on windows it's bigger because the c runtime (crt) has been updated for compatibility and security reasons. the size hardly makes a difference unless your still using 1.44 floppy disks and a 10...
by idle
Sun Apr 14, 2024 7:31 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

Hi Idle, great work! For a few years now, I am looking for a decent way to remove electron and other blown up solutions for local webpages from my workflow. This seems to be it! Thanks for the work. Really looking forward for things like SSL and GZIP! I tried to download the code via "Get Code...
by idle
Sun Apr 14, 2024 10:24 am
Forum: Coding Questions
Topic: Can't fetch a specific webpage.
Replies: 9
Views: 278

Re: Can't fetch a specific webpage.

so what was the result from the code I posted?
ReceiveHTTPMemory predate httprequest and there may be a difference in how they're implemented.
or maybe its a dns filter blocking the site.
by idle
Sun Apr 14, 2024 5:42 am
Forum: Coding Questions
Topic: ReceiveHTTP doesnt work on Windows 7. Any solution?
Replies: 6
Views: 341

Re: ReceiveHTTP doesnt work on Windows 7. Any solution?

have you tried HTTPRequestMemory instead with #PB_HTTP_WeakSSL or #PB_HTTP_NoSSLCheck
by idle
Sun Apr 14, 2024 5:31 am
Forum: Coding Questions
Topic: Can't fetch a specific webpage.
Replies: 9
Views: 278

Re: Can't fetch a specific webpage.

maybe it's a TLS version issue, I had a similar issue with httpRequest but with the flag #PB_HTTP_WeakSSL it worked. PB uses curl which is TLS only but it's probably TLS 1.2 or 1.3 by default. so the flag will let you back to TLS 1.1 this works win 11 x64 NewMap Header$() Header$("Content-Type&...
by idle
Sun Apr 14, 2024 4:43 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

a somewhat slow test site to US and Europe atomicwebserver.com
I will put on a cloud VM at some point as it's just to slow from the island
by idle
Fri Apr 12, 2024 12:57 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

skinkairewalker wrote: Thu Apr 11, 2024 9:09 pm This is brilliant, excellent work.
It should be ready to post next week, I'm still debugging the reverse proxy and I also need to finish off the use case examples and edit the test site contents.
by idle
Thu Apr 11, 2024 1:25 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

I decided to build in a reverse proxy, which is a much better solution overall as you can totally isolate the servers and then they don't need to be on the same instance, machine or network. it seems to be working fine on the same instance and also as separate instances . :D Though it's it's still n...
by idle
Tue Apr 09, 2024 12:59 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

In the case of a shared application server I'm still looking into how to do it as a dll plug-in, that way you can recompile your app without shutting the server down or recompiling it. By dynamicly loading and unloading your application dll. your dll hosts the urihandlers and runtime procedures requ...
by idle
Mon Apr 08, 2024 9:46 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

Glad to help :D Do you think SSL would be doable for atomic server, without all the inherent complexity? Yes absolutely, it's not that hard to do for windows or Linux but I don't know about mac OS or arm builds. I'm still working through how to present the adaptation to support shared servers which...
by idle
Mon Apr 08, 2024 1:29 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 62
Views: 3308

Re: atomic web server threads

After Caronte3D spun up a server in Germany and sent me the link to test, I'm happy to say it's fast enough, it only took 5 seconds to download the ~6mb test payload from NZ which is pretty good. I've been adding shared servers, so you can run multiple sites on the same server and port. you just add...