On Fri, Jun 26, 2009 at 12:04 AM, Janine Siskjan...@furfly.net wrote:
set translated_page_body [encoding convertto gb2312 $page_body]
This isn't going to work. It's not the encoding of the characters you
need to change but the characters themselves.
You want to do the equivalent of this:
%
On Thu, Apr 23, 2009 at 7:40 PM, Janine Sisk jan...@furfly.net wrote:
Trying again... anyone??? Bueller? :)
Is this tc2sc conversion software actually any good?
I remember you were having the same problem 18 months ago, and you
said that the company that wrote the software has gone out of
On Thu, Aug 28, 2008 at 9:50 AM, Mark Aufflick
[EMAIL PROTECTED] wrote:
Hi all,
If I Ns_Log() the data in a (char *) I can clearly see that it
contains newlines, and I can also verify that it contains nulls with
memchr.
I have tried any number of ways to turn it into a tcl object, eg:
On Fri, Aug 29, 2008 at 3:18 AM, Mark Aufflick
[EMAIL PROTECTED] wrote:
Hi Stephen,
What does ns_conn write_encoded false do (although it is somewhat self
explanatory)?
With the write_encoded flag set (which ns_startcontent sets) ns_write
will assume you're sending character data and will
On Fri, May 2, 2008 at 6:46 PM, Rick Cobb [EMAIL PROTECTED] wrote:
Just to add something to the discussion: One point I think is confusing
about the C API, and needs more amplification in the documentation, is
the asymmetry between Ns_TclAllocateInterp and Nn_TclDeAllocateInterp.
In our C/C++
nsdbi is a database driver interface for naviserver. It provides
native bind variable support, transparent prepared queries and handle
management, runtime configuration, statistics, and a few other things.
There are drivers for postgres, mysql and sqlite. There's also a stub
driver included for
On Feb 7, 2008 9:32 AM, Jeff Rogers [EMAIL PROTECTED] wrote:
The problem is straightforward - the driver checks how many rows are
returned after executing a statement; 0 returns NS_DML and 0 returns
NS_ROWS. 'ns_db select' and '0or1row' expect NS_ROWS results, even if
there are no rows to be
On 10/2/07, Tom Jackson [EMAIL PROTECTED] wrote:
... it would be nice if new code followed AOLserver coding norms. Maybe
you can get naviserver to take out their code. The module I wrote at least
compiled against their server...
You're using symbols declared in nsd/nsd.h, which is private to
On 10/3/07, Tom Jackson [EMAIL PROTECTED] wrote:
Anyway, I don't really know if this will work as the original, I was able to
fcopy in background a short text file, but larger than 4096 bytes just gets
that amount according to wget.
In foreground/blocking mode, fcopy returns larger files.
Hi,
I think it's a fine idea that conn thread pools are a process-wide
resource. I liked the idea so much, I copied it. (Well, the limits
part, so far...)
But I agree with you; although ns_pools/ns_limits enable some handy
new features, such as dynamic configuration, it sure would be
convenient
On 8/3/07, Tom Jackson [EMAIL PROTECTED] wrote:
Stephen,
My concern over this is that one virtual server might have slightly different
code, for instance development vs. production, and would likely share the
same threadpool. What exactly is part of the thread in a pool? Is there any
On 8/4/07, Tom Jackson [EMAIL PROTECTED] wrote:
Stephen,
I agree that you have clearly defined one use of threadpools, essentially
overall limits. But note that threadpools are tied to url patterns. The
concept is that certain urls consume more resources that others, not just
memory, but
The dump will either contain literal ASCII question marks because
Oracle has decided to clip the high bits during export, or it will
contain mangled byte sequences which don't correspond to any character
which can be displayed on your screen.
If Oracle clipped, your out of luck. Otherwise, you
Hi,
I fixed this bug 6 months ago. There's a patch on SourceForge:
Invalid response status logged for custom redirects
http://sourceforge.net/tracker/?func=detailaid=1013752group_id=3152atid=103152
You may also be interested in this related patch which alows a custom
redirect handler to know
On Fri, 11 Feb 2005 15:20:26 -0500, Dossy Shiobara [EMAIL PROTECTED] wrote:
Can you explain this:
- connPtr-responseStatus = status;
+/* 200 is default. Don't stomp custom redirects. */
+if (status != 200) {
+connPtr-responseStatus = status;
On Fri, 11 Feb 2005 16:21:49 -0500, Dossy Shiobara [EMAIL PROTECTED] wrote:
On 2005.02.11, Stephen Deasey [EMAIL PROTECTED] wrote:
Why introduce Ns_ConnSetUrl()? Why not change Ns_SetRequestUrl() to do
this?
Ns_SetRequestUrl(Ns_Request * request, char *url);
Ns_ConnSetUrl(Ns_Conn
On Tue, 8 Feb 2005 09:06:21 +0100, Zoran Vasiljevic [EMAIL PROTECTED] wrote:
This is my wish-list. Do whatever you consider appropriate.
It is *far* from complete, but I guess I have to start with something.
(I have no reason of hiding it, I'm not secret service):
Interesting list. Here's
On Wed, 2004-08-18 at 09:21, Jim Wilcoxson wrote:
...
AOLserver is ideally suited to the majority of server tasks. About the
only shortcoming which comes to mind is that conn threads are required
to do blocking writes. But fixing that would be of benefit to the HTTP
processing side
On Tue, 2004-08-17 at 03:59, Andrew Piskorski wrote:
On Tue, Aug 17, 2004 at 10:32:56AM +0200, Zoran Vasiljevic wrote:
Vlad's patch implements entirely new socket-level driver and sticks
the whole add-in functionality in the driver itself, effectively
Stephen's patch integrates into the
On Tue, 2004-08-17 at 05:46, Dossy Shiobara wrote:
So far, this has been working really well for me. No modification to
the core involved, and it's implemented in very few LOC overall. Using
the same pattern, I could easily implement an SMTP, IMAP, etc., server
in pure Tcl. I'm not sure
On Tue, 2004-08-17 at 03:28, Bas Scheffers wrote:
Very interesting. After only reading your nutshell descriptions, to me
what would seem like a nice way of handling this is lightweight plumbing
in C and the bulk in Tcl.
This is the essence of my proposed solution. You are required to write
a
On Tue, 2004-08-17 at 06:55, Dossy Shiobara wrote:
I could very well be wrong. If someone is interested in finding an
off-the-shelf, or implementing from scratch, a load generator for one of
these non-HTTP protocols (say, SMTP) ... I'd like to have a bake-off.
Implemented in pure Tcl, and
The fragment appears in the URL displayed by your browser, it's not
necessarily sent to the server.
/fragment.tcl
ns_return 200 text/plain request: [ns_conn request]
telnet localhost 80
GET /fragment.tcl#frag HTTP/1.0
404 Not Found.
telnet locahost 80
GET /fragment.tcl?foo=bar#frag
request:
How to reproduce:
telnet host 80
GET / HTTP/1.1
I sent an email about this early yesterday well before the release, but
didn't get any response.
Thanks.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with
.
On Fri, 2004-07-16 at 13:22, Rob Crittenden wrote:
This causes a core dump?
rob
Stephen Deasey wrote:
How to reproduce:
telnet host 80
GET / HTTP/1.1
I sent an email about this early yesterday well before the release, but
didn't get any response
On Fri, 2004-07-16 at 13:01, Dossy wrote:
This also raises the issue that AOLserver currently does NOT accept HTTP
requests where header lines are split across multiple lines via
header-continuation. With regard to strict compliance to the spec.,
this is a bug and should be addressed
Only the person who opens a bug (and perhaps admins???) can attach files
to a bug report, i.e. a patch. If you remove the patch tacker you'll
have to fix all the bugs yourself... :-)
On Tue, 2004-07-06 at 09:06, Dossy wrote:
I want to ask if anyone finds any use or value in having a separate
I'd like connection local storage that lasts the lifetime of a client
connection to the server, i.e. as long as the socket is open.
AOLserver terminology is whacked -- it defines a connection as an HTTP
request, and a request as the actual 'GET / HTTP/1.0' line. So I guess
what I'd like is
What happens if the network or some other part of the infrastructure
goes down such that one of the nodes can't communicate with the master?
Do you loose log messages? Does the node block?
What happens when the master fills it's log disk, do all the clients
block?
You're going to need a
The patch is against 4.0 but it also applies cleanly against 4.0.2 and
4.1 from CVS.
cd aolserver-4.0
patch -p1 -b ../aolserver-4.0-plus-sign-encoding.patch
On Tue, 2004-01-27 at 02:25, Bart Teeuwisse wrote:
Stephen,
against which version of AOLserver 4.0 did you make the patch?
It's an AOLserver bug -- it's translating + to space in paths where it
shouldn't. Attached is a patch for 4+.
On Mon, 2004-01-26 at 14:37, Bart Teeuwisse wrote:
Fastpath.c doesn't recognize directories starting with a plus sign (+). Thus
_ns_dirlist is never called to return the content of
MySQL 4 has an in-memory-only table type, and can be linked against as a
library (rather than connected to as a server).
Better than nsv's (just.. :-)
On Fri, 2002-07-26 at 15:20, Andrew Piskorski wrote:
Does and sort of simple, thread-safe, in memory relational database
for AOLserver exist?
SASL: http://www.oreillynet.com/pub/a/network/2002/04/09/sasl.html
...if you're feeling ambitious.
33 matches
Mail list logo