Search found 4813 matches

by idle
Sun Apr 14, 2024 7:31 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 57
Views: 3175

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: 8
Views: 217

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: 331

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: 8
Views: 217

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: 57
Views: 3175

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: 57
Views: 3175

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: 57
Views: 3175

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: 57
Views: 3175

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: 57
Views: 3175

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: 57
Views: 3175

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...
by idle
Sun Apr 07, 2024 6:01 am
Forum: Coding Questions
Topic: What variable type is "?" for CatchImage?
Replies: 7
Views: 304

Re: What variable type is "?" for CatchImage?

something like this Procedure doit(param) Protected len len = PeekL(param) Debug PeekS(param+4,len) EndProcedure DataSection hello: ;set label Data.l 5 ;set len of data to the image Data.s "hello" ;set data world: Data.l 5 Data.s "world" EndDataSection doit(?hello) doit(?world)
by idle
Sun Apr 07, 2024 12:58 am
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 10
Views: 619

Re: Good News! Fuzzy Completion!

Piero wrote: Fri Apr 05, 2024 7:35 am Anyway, I also made a 18-hours video explaining the basics of my creation… Enjoy!
Video (dedicated to Idle)
Pineapple Pizza on the menu and I'll try one of those Scottish delicacies a Deep fried Mars bar. :lol:
by idle
Fri Apr 05, 2024 8:26 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 57
Views: 3175

Re: atomic web server threads

Thanks benbi It's not so easy to keep it simple, I could add a few 1000 lines in an instant but I'm trying to keep it closer to plain pb which I find hard to do. I could also simplify it a lot more by by using one thread per client, but I think this way where a client can have mutiple requests going...
by idle
Fri Apr 05, 2024 6:31 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 57
Views: 3175

Re: atomic web server threads

v 3.0.7b1 Added Tag Preprocessor. It assumes you have an html page with the the tag <?PB ElementsFillTable/> saved as .pbh and it will call the named runtime procedure to fill in the tag with dynamic html content. This eliminates the need for CGI or server side scripting languages as you have all th...
by idle
Wed Apr 03, 2024 3:55 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 57
Views: 3175

Re: atomic web server threads

v3.0.6b4
fixed thread clean up