Search found 4828 matches
- Sun Apr 14, 2024 7:31 pm
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
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...
- Sun Apr 14, 2024 10:24 am
- Forum: Coding Questions
- Topic: Can't fetch a specific webpage.
- Replies: 12
- Views: 563
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.
ReceiveHTTPMemory predate httprequest and there may be a difference in how they're implemented.
or maybe its a dns filter blocking the site.
- Sun Apr 14, 2024 5:42 am
- Forum: Coding Questions
- Topic: ReceiveHTTP doesnt work on Windows 7. Any solution?
- Replies: 11
- Views: 600
Re: ReceiveHTTP doesnt work on Windows 7. Any solution?
have you tried HTTPRequestMemory instead with #PB_HTTP_WeakSSL or #PB_HTTP_NoSSLCheck
- Sun Apr 14, 2024 5:31 am
- Forum: Coding Questions
- Topic: Can't fetch a specific webpage.
- Replies: 12
- Views: 563
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&...
- Sun Apr 14, 2024 4:43 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
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
I will put on a cloud VM at some point as it's just to slow from the island
- Fri Apr 12, 2024 12:57 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
Re: atomic web server threads
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.
- Thu Apr 11, 2024 1:25 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
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...
- Tue Apr 09, 2024 12:59 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
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...
- Mon Apr 08, 2024 9:46 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
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...
- Mon Apr 08, 2024 1:29 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
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...
- Sun Apr 07, 2024 6:01 am
- Forum: Coding Questions
- Topic: What variable type is "?" for CatchImage?
- Replies: 7
- Views: 343
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)
- Sun Apr 07, 2024 12:58 am
- Forum: Mac OSX
- Topic: Good News! Fuzzy Completion!
- Replies: 14
- Views: 1087
- Fri Apr 05, 2024 8:26 pm
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
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...
- Fri Apr 05, 2024 6:31 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
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...
- Wed Apr 03, 2024 3:55 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 4922
Re: atomic web server threads
v3.0.6b4
fixed thread clean up
fixed thread clean up