...

Developed or developing a new product in PureBasic? Tell the world about it.
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Post by Heathen »

oryaaaaa wrote:cool !

I am reading your source now.
Please add "Protected" in procedure, use gadget #PB_Any.
I may add protected in the next version. When it comes to the gadgets, I will probably just use enumeration.
I love Purebasic.
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Post by Heathen »

Hey guys, just want to let you know that im still working on this:

Here is some features of the next version:

- Built in http download manager with stop/continue support
- Starting code for the bittorrent protocol (will not be complete until few versions)
- Quite a few bug fixes and code cleanup
I love Purebasic.
DataMiner
User
User
Posts: 25
Joined: Mon Mar 28, 2005 1:29 pm
Location: Germany

Post by DataMiner »

I have some trouble with your zip-file. Size: 0 KB ?
Hmmm ...
I am German - that's hard enough ;)
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post by SFSxOI »

The link in the post doesn't work...I wonder if he
s using the GNU Multi-Purpose HTTP Download Server ? ;)
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Post by Heathen »

SFSxOI wrote:The link in the post doesn't work...I wonder if he
s using the GNU Multi-Purpose HTTP Download Server ? ;)
:D
Last edited by Heathen on Tue Oct 13, 2009 4:50 am, edited 2 times in total.
I love Purebasic.
User avatar
ar-s
Enthusiast
Enthusiast
Posts: 344
Joined: Sat Oct 06, 2007 11:20 pm
Location: France

Post by ar-s »

dead links : 06/02/08
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Post by Heathen »

ar-s wrote:dead links : 06/02/08
Hello, I updated the link in the first post. The code might not be too great though since it's pretty old. :P
I love Purebasic.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Re: Open Source Multi-Purpose HTTP Download Server

Post by AND51 »

Heathen wrote:- Bans are saved after the program ends, so crashes will remove all new bans, may change this later.
Do you save bands directly into a file? Then why don't you set FileBuffer to zero? Even if the program crashes, the bans would be saved. Use FileBufferSize(#File, 0)


In former times, I wanted to create a HTTP-Server on my own. I think I'll do this somewhere in the future. May I use this server as my template?
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Re: Open Source Multi-Purpose HTTP Download Server

Post by Heathen »

AND51 wrote:
Heathen wrote:- Bans are saved after the program ends, so crashes will remove all new bans, may change this later.
Do you save bands directly into a file? Then why don't you set FileBuffer to zero? Even if the program crashes, the bans would be saved. Use FileBufferSize(#File, 0)


In former times, I wanted to create a HTTP-Server on my own. I think I'll do this somewhere in the future. May I use this server as my template?
The bans are saved after the window get's closed because that's when the procedure get's called, I believe I did that to help prevent speed loss during an attack.

Also, you can use this code for pretty much whatever you want, just make sure to read over the license. :) But remember that this code is almost 2 years old, so it could probably use many improvements.
I love Purebasic.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Well, maybe you could change the ban system in order to do the trick I told you.

Furthemore, I'll read your licence, of course, but I do not intend to copy yoour code and/or single procedures of it. I'd like to adopt some ideas and functions that I could implement into my own HTTP-Server.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Post by Heathen »

AND51 wrote:Well, maybe you could change the ban system in order to do the trick I told you.
I did it that way for a reason. It has nothing to do with not knowing about the file buffer. Setting the buffer to 0 wouldn't really make a difference since the procedure isn't called into the program ends anyhow. I did it that way when I added the attack protection to try to prevent some speed loss. Besides, I haven't worked on this for a long time and have pretty much considered it dead. I may decide to rewrite some of it in the future, but right now I have a really big project I have been working on so I probably won't find time anytime soon.
I love Purebasic.
Post Reply