Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Tilmann Singer
* Dossy [EMAIL PROTECTED] [20040528 05:51]: An additional -encoding parameter for ns_httpopen would be the most flexible way. [...] If you're really serious about wanting this, file it as a Feature Request in SF tracker so we don't forget about it. Thanks! Done:

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Brady Wetherington
Note that tclhttpd uses fileevent to implement a full-fledged single-process select-based web server - I don't know how good it actually is in practice, but it should make for a very high- performance, low-overhead server. On Thu, 27 May 2004 12:45:09 -0700, Tom Jackson [EMAIL PROTECTED] wrote:

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Tom Jackson
Brandy, Thanks for the info. That is very good to know. One thing that is 'busted' in AOLserver is the ability to provide threaded generic servers. I would like to build this in for various reasons, so it looks like the socket/fileevent method might be the way to go, and just forget about threads.

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Vlad Seryakov
I have patch that convert aolserver into generic threaded server platform. I had to write SMTP proxy server and it required just a small patch to change default HTTP-aware behaiviour of server thread. Now it supports generic drivers and uses same thread pools/connection driver as for http

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Andrew Piskorski
On Fri, May 28, 2004 at 12:58:36PM -0400, Vlad Seryakov wrote: I have patch that convert aolserver into generic threaded server platform. I had to write SMTP proxy server and it required just a small patch to change default HTTP-aware behaiviour of server thread. Now it supports generic

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Zoran Vasiljevic
On Friday 28 May 2004 19:59, you wrote: On Fri, May 28, 2004 at 12:58:36PM -0400, Vlad Seryakov wrote: I have patch that convert aolserver into generic threaded server platform. I had to write SMTP proxy server and it required just a small patch to change default HTTP-aware behaiviour of

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Vlad Seryakov
I submitted it ot SF http://sourceforge.net/tracker/index.php?func=detailaid=726288group_id=3152atid=303152 but it is quite old already, i have newer version but did not submit it. The idea is same just little improvements. We use this proxy module for 1 year already in th eproduction, no problems

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Tom Jackson
On Fri, 2004-05-28 at 09:58, Vlad Seryakov wrote: I have patch that convert aolserver into generic threaded server platform. I had to write SMTP proxy server and it required just a small patch to change default HTTP-aware behaiviour of server thread. Now it supports generic drivers and uses

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Dossy
On 2004.05.27, Tilmann Singer [EMAIL PROTECTED] wrote: Can anyone tell me what the chances are for this bug to get fixed: [ 932459 ] Impossible to set encoding for ns_sockopen http://sourceforge.net/tracker/index.php?func=detailaid=932459group_id=3152atid=103152 Does it appear like

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Zoran Vasiljevic
On Thursday 27 May 2004 20:39, you wrote: On 2004.05.27, Tilmann Singer [EMAIL PROTECTED] wrote: Can anyone tell me what the chances are for this bug to get fixed: [ 932459 ] Impossible to set encoding for ns_sockopen

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Tom Jackson
On Thu, 2004-05-27 at 11:46, Zoran Vasiljevic wrote: He's using the http protocol for that, I assume, not just plain socket connection. I think Dossy's suggestion should work. All the tcl exposed sock commands use tcl channels. However, why not use tcl's 'socket' command:

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Zoran Vasiljevic
On Thursday 27 May 2004 21:05, you wrote: On Thu, 2004-05-27 at 11:46, Zoran Vasiljevic wrote: He's using the http protocol for that, I assume, not just plain socket connection. I think Dossy's suggestion should work. All the tcl exposed sock commands use tcl channels. Yes. But so far

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Dossy
On 2004.05.27, Zoran Vasiljevic [EMAIL PROTECTED] wrote: He's using the http protocol for that, I assume, not just plain socket connection. Tilmann's email only mentions ns_sockopen. If the fconfigure trick works, then extending ns_httpopen to take an -encoding parameter that it uses to

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Dossy
On 2004.05.27, Tom Jackson [EMAIL PROTECTED] wrote: On Thu, 2004-05-27 at 11:46, Zoran Vasiljevic wrote: He's using the http protocol for that, I assume, not just plain socket connection. I think Dossy's suggestion should work. All the tcl exposed sock commands use tcl channels.

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Tilmann Singer
* Nis Jorgensen [EMAIL PROTECTED] [20040527 22:08]: He's using the http protocol for that, I assume, not just plain socket connection. Tilmann's email only mentions ns_sockopen. If the fconfigure trick works, then extending ns_httpopen to take an -encoding parameter that it uses to

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Dossy
On 2004.05.28, Tilmann Singer [EMAIL PROTECTED] wrote: Tilmann's email only mentions ns_sockopen. If the fconfigure trick works, then extending ns_httpopen to take an -encoding parameter that it uses to fconfigure the channels returned to it from ns_sockopen is a simple fix. Yes that

[AOLSERVER] encoding of ns_sockopen

2004-01-28 Thread Tilmann Singer
Hi, When working with the openacs xmlrpc package I noticed that when posting data using ns_httpopen which calls ns_sockopen the data is encoded in iso-8859-1 although I have set the following parameters: ns_section ns/parameters ... ns_param HackContentType 1 ns_param URLCharset utf-8 ns_param