DexOS http server test
You got your timeouts a bit sharp and I can't seem to get anything from it using telnet. Aside from that, it won't feed anything to my HTTP 1.0 request.
Code: Select all
candy@blackbox:~$ telnet 86.15.253.182 80
Trying 86.15.253.182...
Connected to 86.15.253.182.
Escape character is '^]'.
GET Connection closed by foreign host.
candy@blackbox:~$ echo -e "GET / HTTP/1.0\n\n" | telnet 86.15.253.182 80
Trying 86.15.253.182...
candy@blackbox:~$ echo -e "GET / HTTP/1.0\n\n" | telnet 86.15.253.182 80
Trying 86.15.253.182...
Connected to 86.15.253.182.
Escape character is '^]'.
Connection closed by foreign host.
candy@blackbox:~$
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Of course it doesn't, as yet it sends a default page to all requests... this has already been established.GLneo wrote:[joke]how do we know if it is really running on you OS ???[/joke] , typing anything after the address doesn't effect things. http://86.15.253.182/lalala/bla/foo.php
Thanks for testing everyone.
@Candy, thanks for info the simple server is only code to test for "GET " and "POST" only, and also to not respond to anything else and to close once header and file send, no waiting. Not sure why GET does not respond through telnet.
Most likely it is cuts off the contion before the GET.
I will be add much more functionality, once i have fix any bugs in the stack code.
@GLneo, I will be releasing the source code once all bugs are out, But if anyone got a RTL8139 ethernet card and a old PC, I can post DexOS along with the ethernet driver + stack and http server, so you can run it on your own PC to test .
Will work on a 486 up + 16MB ram.
@Candy, thanks for info the simple server is only code to test for "GET " and "POST" only, and also to not respond to anything else and to close once header and file send, no waiting. Not sure why GET does not respond through telnet.
Most likely it is cuts off the contion before the GET.
I will be add much more functionality, once i have fix any bugs in the stack code.
@GLneo, I will be releasing the source code once all bugs are out, But if anyone got a RTL8139 ethernet card and a old PC, I can post DexOS along with the ethernet driver + stack and http server, so you can run it on your own PC to test .
Will work on a 486 up + 16MB ram.
I will take a look at that code Is it ASM? (And how can DexOS connect to net, through a PCI internal modem, or COM external modem, or ADSL USB external modem?)
inflater
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
The web server will be inside MiniDOS kernel? I gotta see this!
inflater
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
-
- Member
- Posts: 97
- Joined: Thu Mar 15, 2007 2:27 pm
NOPE. Asm utils did it in a couple hundred bytes under Linux. But hosted on a system written in ASM, yes that is definitely a first.Brynet-Inc wrote:An HTTP server written in x86 ASM?
That has to be a first
(Well.. other embedded architecrues have written one in their native assembly language.. but it might be a rarity for x86 right?)
(Don't post the code.. We don't want it!! )
haha j/k
I got two D-Links that have RTL8139 in them. ID themselves as 1186:1300.Dex wrote:But if anyone got a RTL8139 ethernet card and a old PC, I can post DexOS along with the ethernet driver + stack and http server, so you can run it on your own PC to test .
Will work on a 486 up + 16MB ram.
Old PC will be a bigger problem, but I guess either my Duron (768MB ram) or my AMD64 (1GB ram) will probably be willing to run a test.
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
Cool, I am working on a release ver, that includes running your own webs site, from a old PC at home, with a full set of user functions include auto setup (dhcp), manual, site stats, log.
You will even beable to get stats etc, from any browser (password protected.
You will only need to boot, 2 clicks and that it other than put all web pages, images, etc into a folder on hdd.
There will first be a text menu based ver for running from old PC, and a gui ver for people who like GUIs.
It should be ready to test in about a week, so i will post a link than.
Thanks .
You will even beable to get stats etc, from any browser (password protected.
You will only need to boot, 2 clicks and that it other than put all web pages, images, etc into a folder on hdd.
There will first be a text menu based ver for running from old PC, and a gui ver for people who like GUIs.
It should be ready to test in about a week, so i will post a link than.
Thanks .