r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Uniserve] Creating Uniserve processes

Graham
17-May-2005
[200x3]
Didier is using Uniserve on client side for his forum program - enables 
async downloading of new messages.  Look for ( I think ) lecture-forum.r
My webmail using Uniserve's http server (Cheyenne) does database 
connections to retrieve mail http://www.compkarori.co.nz:8001
I have a single odbc connection that is re-used by all the clients 
so that I do not have the overhead of opening/closing a database 
connection  for each transaction.
MikeL
18-May-2005
[203]
Thanks Graham. One like a background refresh of more recently posted 
messages would be a great example.   I looked at Didier's code for 
lecture-forum.   If it uses Uniserve in the version that I located, 
it is very subtle.  I'll ask him if he can illuminate it for me.
Graham
31-Aug-2005
[204]
Open/skip will be very helpful to allow file resume in Cheyenne.
Pekr
1-Sep-2005
[205]
you mean open/seek, no? :-)
Graham
1-Sep-2005
[206]
yeah ...
Terry
6-Oct-2005
[207x3]
Any simple examples on using "stop-at" with uniserve to pick up posted 
data??? Can only dig up "GET" ??
stop-at binary seems to work, but not stop-at string!
Ok, I got it.. seems you need to have the "stop-at" in both the on-new-client, 
AND on-received
Terry
7-Oct-2005
[210]
I have another question though.. with the httpd service, where is 
the actual data?  I get the headers, and i get the length of the 
data, but not the actual binary.. im submitting a form using POST... 
GET is fine.
Graham
7-Oct-2005
[211]
Does lfred know ?
Terry
7-Oct-2005
[212x2]
Not unless you taught him.
when i submit a basic form.. the only binary i receive is "POST / 
HTTP/1.1".. none of the other values?
Graham
7-Oct-2005
[214x4]
[thru "Content-length: " copy post-bytes to crlf | none]
so, it must be post-bytes :)
is the number of bytes posted.
and request I guess holds the post data itself.
Terry
7-Oct-2005
[218x3]
I think the problems was trying to toy with the URL, rather than 
processing with a .cgi script.
the httpd is trying to serve up a page, and i wouldn't let it.??
One can get all fancy playing with ports and protocols, but in the 
end, there's alot to be said for DBI
Terry
8-Oct-2005
[221]
(CGI rather :)
Graham
8-Oct-2005
[222]
Ahh.. your left hand was one row down and shifted to the right
Terry
8-Oct-2005
[223]
That, or my brain was thinking of doughnuts.
Graham
8-Oct-2005
[224]
no, it was twisted clockwise!
Terry
8-Oct-2005
[225]
Ok, the problem with POST data was with domain forwarding, and not 
with Uniserve.. GET works fine, POST didn't.
Maarten
25-Oct-2005
[226]
Quick questions about Uniserve:

1) Can you encap it
2) Is the http daemon reliable
3) Does the http handler support CGI/Reblets
4) Can the http daemon listen on multiple ports
Volker
25-Oct-2005
[227x5]
Encap: You have encapping with external scripts in detective? should 
be a selfmade do then, to check authoirity. But would extract some 
files when running.
cgi: i have read yes, launches external script. i guess that part 
needs little change, encap gets scriptname as arg.
reliable - ask graham. And its donckimbel and he sounds satisfied 
with it.
multiple ports - i guess. it can run multiple protocols, as plugins. 
so run the same plugin a few times on different ports.
5) DOc has an improved version which some people got. The webpage 
sounded like he is close to replacing apache.
Graham
25-Oct-2005
[232]
1 -3 yes.  Haven't tried 4.  Think it should be able to though.
DideC
25-Oct-2005
[233]
1) Yes, by the use of an encap-fs script and some little changes 
in your script.
Philippe
28-Oct-2005
[234]
Hello, you could find a simple bench study I've made for my job about 
Uniserve vs Apache, on the Rebol Documentation Project (see http://www.rebdocproj.org/article.php3?id_article=181). 
It's in french, but with some charts.  Uniserve is very close to 
Apache 1.3 (and 2.0, not published).
Terry
2-Nov-2005
[235]
Uniserve under 1.3  when trying to run the CGI example on the main 
http page. .. ## Error in [uniserve] : Async Write phase failed !
Terry
21-Jan-2006
[236]
Nenad, do you have any docs on encapping Uniserve?
Dockimbel
21-Jan-2006
[237]
No, but next release includes an 'encap-fs library and an example 
of encapping Uniserve with all dependencies and modules.
Terry
21-Jan-2006
[238]
How's production coming?
Dockimbel
24-Jan-2006
[239]
Next release will be out when I'll find time to package it. It also 
needs new documentation to better explain the concept behind the 
framework.
Pekr
24-Jan-2006
[240x2]
Doc - so - will you release mysql protocol as 1.0 stable?
I think that we should finally go 1.0 after all those years - your 
code is of proven quality ...
Dockimbel
24-Jan-2006
[242]
I need to first fix the "bad handshake" random issue.
Pekr
24-Jan-2006
[243]
it is appearing? did not know that ...
Dockimbel
24-Jan-2006
[244]
moving to MySQL channel
Terry
24-Jan-2006
[245]
Looking forward to it Nenad.
Graham
25-Jan-2006
[246]
Is there any progress on encryption with Uniserve protocols ?
MichaelB
25-Jan-2006
[247x2]
Why does the following not work ? Anamonitor shows that the engage 
got into place, but the rate doesn't work. I seam to forget something,
 
with rebgui:

do %rebgui.r
display "test" [
    text "hello"
    do [
        face/rate: 5
        face/feel: context [
            engage: func [f a e][
                print 'bla
            ]
            redraw: detect: over: none
        ]
    ]
]
do-events


with vid:

x: layout [button "hallo"]

x/rate: 5
x/feel: context [
    engage: func [f a e][
        print 'bla
    ]
    redraw: detect: over: none
]

view x
do-events

???any help :-)
sorry wrong group
Dockimbel
25-Jan-2006
[249]
Encryption methods are application-depend, it's hard to built-in 
Uniserve's kernel a general purpose encryption for communication 
that'll fit well any case...The kernel have to remain general purpose. 
But it may provides some helping features to allow easier encryption 
integration. Do you have some design ideas how the kernel should 
help integrating encryption ?