Displaying 16 results from an estimated 16 matches for "nconnection".
Did you mean:
connection
2004 Aug 06
4
Missing headers in Icecast2
On Saturday 06 December 2003 17:12, Macsym wrote:
> Hi Karl,
>
> I just checked in Icecast1 source, the line:
>
> if (client_wants_content_length (con))
> sock_write (con->sock, "Cache-Control: no-cache\r\nPragma:
> no-cache\r\nConnection: close\r\nContent-Length: 54000000\r\n");
>
>
> is located in "client.c". Shouldn't I add this line in "client.c" of
> Icecast2 instead of "format_mp3.c" as you advised me? If so, what should I
> add exactly and where in the code (of Icecast2...
2008 Apr 17
0
Error log, when using apache2.2.x modproxy with mongrel
...:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Language:
zh-tw,en-us;q=0.7,en;q=0.3\r\nAccept-Encoding:
gzip,deflate\r\nAccept-Charset: Big5,utf-8;q=0.7,*;q=0.7\r\nX-Forwarded-For:
127.0.0.1\r\nX-Forwarded-Host: www.testkoji.com\r\nX-Forwarded-Server:
www.testkoji.com\r\nConnection: Keep-Alive\r\nGET /test/show
HTTP/1.1\r\nHost: www.testkoji.com\r\nUser-Agent: Mozilla/5.0 (Windows; U;
Windows NT 5.1; zh-TW; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5\r\nAccept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Language:
zh-tw,en-us;q=0.7,en;q=0.3\r\nAccep...
2008 Feb 28
1
C Code to connect to Asterisk Manager Interface
Hi,
I have written a C code which would let me connect to the Asterisk Manager
Interface. The code compiles successfully but on running the code I get
unauthorized login shown in the Asterisk command line console.
Here is my C code:
#include<stdio.h>
#include<netdb.h>
#include<unistd.h>
#include<string.h>
#include<arpa/inet.h>
#include<sys/types.h>
2005 Sep 18
0
Updated rawConnection() patch
...ction(v) .Internal(grabOutput(con)), env)
+ }
+ con
}
seek <- function(con, ...)
--- ./src/main/connections.c.orig 2005-08-29 17:47:35.000000000 -0700
+++ ./src/main/connections.c 2005-09-18 11:54:49.752647400 -0700
@@ -59,7 +59,6 @@
#define NSINKS 21
static Rconnection Connections[NCONNECTIONS];
-static SEXP OutTextData;
static int R_SinkNumber;
static int SinkCons[NSINKS], SinkConsClose[NSINKS], R_SinkSplit[NSINKS];
@@ -76,16 +75,6 @@
return i;
}
-static int ConnIndex(Rconnection con)
-{
- int i;
- for(i = 0; i < NCONNECTIONS; i++)
- if(Connections[i] == con) break...
2007 Aug 10
9
Problems monitoring Mongrel with F5 BigIP
If this has already been covered, please point me to that (I didn''t find
anything in my searches)...
We are using F5 BigIP LTM load balancers. They have many pools of Mongrels
they load balance across, and I of course want the F5 to know when a Mongrel
goes down or is unavailable, etc. To do that, I need to have an F5 health
monitor for HTTP make a request to the Mongrel. We do this
2004 Aug 06
5
Missing headers in Icecast2
Hi Karl,
Thanks for your help,
About the "Connection:" header, you are right, it's:
"Connection: close" and NOT "Connection: keep-alive". The protocol when the
SERVER sends the data is http 1.0. It's http 1.1 when the browser requests
the data.
I don't understand the "Content-Length: 54000000" header either. Also I
noticed the flash player on
2004 Aug 06
0
Missing headers in Icecast2
...n Saturday 06 December 2003 17:12, Macsym wrote:
> > Hi Karl,
> >
> > I just checked in Icecast1 source, the line:
> >
> > if (client_wants_content_length (con))
> > sock_write (con->sock, "Cache-Control: no-cache\r\nPragma:
> > no-cache\r\nConnection: close\r\nContent-Length: 54000000\r\n");
> >
> >
> > is located in "client.c". Shouldn't I add this line in "client.c" of
> > Icecast2 instead of "format_mp3.c" as you advised me? If so, what should I
> > add exactly and where in...
2006 Jul 21
1
Problems Reading from Socket
...,
"NM_000066&orgs=Hs,mm8,canFam2",sep="")
len <- length( strsplit(dat,"")[[1]])
request<-paste("POST ",path," HTTP/1.1\nHost: ",host,
"\nReferer:\nContent-type: application/x-www-form-urlencoded\nContent-
length: ",
len,"\nConnection: Keep-Alive\n\n",dat,sep="")
fp <- socketConnection(host=host,port=80,server=FALSE,blocking=TRUE)
write(request,fp)
socketSelect(list(fp)) # Wait until results are ready
readLines(fp)
close(fp)
So my question is why do I get lines that are split up by hexadecimal
characters...
2006 Aug 25
2
increasing the # of socket connections
Dear "R-help"ers,
using snow on socket connections, I ran into the following error
> cl <- makeSOCKcluster(hosts)
Error in socketConnection(port = port, server = TRUE,
blocking = TRUE : all connections are in use
with "showConnections(all=T)" showing 50 open connections.
As - for administrative reasons - I would prefer to use snow's
SOCK capabilities (instead
2004 Mar 31
3
Maximum number of connections in R
It appears that the maximum number of connections available
in R is about 48. Can anyone tell me how to bump this number
up? I've been perusing the source, but any info would speed
things up.
Is there a reason that it was set to such a low number?
Thanks for any help.
-Frank
2004 Aug 06
2
Missing headers in Icecast2
On Sat, 2003-12-06 at 06:12, Macsym wrote:
> Hi Karl,
>
> I just checked in Icecast1 source, the line:
>
> if (client_wants_content_length (con))
> sock_write (con->sock, "Cache-Control: no-cache\r\nPragma:
> no-cache\r\nConnection: close\r\nContent-Length: 54000000\r\n");
>
>
> is located in "client.c". Shouldn't I add this line in "client.c" of
> Icecast2 instead of "format_mp3.c" as you advised me? If so, what should I
> add exactly and where in the code (of Icecas...
2004 Aug 06
0
Missing headers in Icecast2
Hi Karl,
I just checked in Icecast1 source, the line:
if (client_wants_content_length (con))
sock_write (con->sock, "Cache-Control: no-cache\r\nPragma:
no-cache\r\nConnection: close\r\nContent-Length: 54000000\r\n");
is located in "client.c". Shouldn't I add this line in "client.c" of
Icecast2 instead of "format_mp3.c" as you advised me? If so, what should I
add exactly and where in the code (of Icecast2's client.c)...
2007 Dec 14
1
SLow cups printing, lots of get-printer-attributes
...27], left {1, 0})
15:47:40 recv(27, "HTTP/1.1 100 Continue\r\n\r\n", 2048, 0) = 25
15:47:40 time(NULL) = 1197643660
15:47:40 time(NULL) = 1197643660
15:47:40 recv(27, "HTTP/1.1 200 OK\r\nDate: Fri, 14 Dec 2007 14:47:40
GMT\r\nServer: CUPS/1.2\r\nConnection: Keep-Alive\r\nKeep-Alive:
timeout=60\r\nContent-Language: fr\r\nContent-Type:
application/ipp\r\nContent-Length: 4215\r\n\r\n", 2048, 0) = 197
15:47:40 time(NULL) = 1197643660
15:47:40 time(NULL) = 1197643660
15:47:40 time(NULL) = 11...
2009 Feb 08
1
Error msg on shell trying to open WoW (Newb)
...gt;((null) 28 2 0x33e20c (nil))
> fixme:mshtml:HttpNegotiate_OnResponse (0x1618a8)->(200 L"HTTP/1.1 200 OK\r\nDate: Sun, 08 Feb 2009 06:08:13 GMT\r\nServer: Apache\r\nCache-control: no-store, no-cache\r\nContent-Encoding: gzip\r\nContent-Length: 1161\r\nKeep-Alive: timeout=30, max=1000\r\nConnection: Keep-Alive\r\nContent-Type: text/html;charset=UTF-8\r\n\r\n" (null) 0x33de74)
> fixme:shell:DllCanUnloadNow stub
> fixme:shell:DllCanUnloadNow stub
> fixme:shell:DllCanUnloadNow stub
>
>
> And then when I push Launch;
> fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (...
2005 Aug 22
2
RFC: "loop connections"
...con = Connections[ncon] = newloop(desc, stext);
+ } else if (strncmp(open, "w", 1) == 0 || strncmp(open, "a", 1) == 0) {
+ if(!isString(stext))
+ error(_("invalid 'object' argument"));
if (OutTextData == NULL) {
OutTextData = allocVector(VECSXP, NCONNECTIONS);
R_PreserveObject(OutTextData);
}
SET_VECTOR_ELT(OutTextData, ncon, venv);
con = Connections[ncon] =
- newouttext(CHAR(STRING_ELT(stext, 0)), sfile, open, ncon);
+ newoutloop(CHAR(STRING_ELT(stext, 0)), sfile, open, ncon);
}
else
errorcall(call, _("unsupported...
2019 Oct 15
4
Splitting the large libguestfs repo
I got a little way into this. The two attached patches are
preliminary work.
My proposed split is:
libguestfs.git
common -> git submodule libguestfs-common.git
generator/
lib/
all language bindings
C based tools (eg. virt-df, virt-edit, guestfish)
guestfs-tools.git
common -> git submodule libguestfs-common.git