Displaying 20 results from an estimated 300 matches similar to: "Submission: Patch to libshout/sock.c for MacOSX"
2004 Aug 06
2
ICECAST enseirb group
Hello,
after the reply of Jerome Alet, I forward our questions
to you. I hope it is now the right place to put it.
Could you please send your answers, questions, comments
to interopcast-general@nongnu.org so everyone in the
group can get a copy of it.
Thank you.
----- Original Message -----
From: "Jerome Alet" <alet@librelogiciel.com>
To: <interopcast-general@nongnu.org>
2008 Mar 11
2
Mongrel 1.1.4, possible bug http_response
Hi,
I found this while digging inside mongrel to provide IO streaming
for mongrel (and thus for Rack and Ramaze):
* In socket_error a local variable done is set, which has no effect.
* done=() always sets to true, where it (for completeness sake) should
honor the passed value.
--- a/http_response.rb 2008-03-11 16:59:24.000000000 +0100
+++ b/http_response.rb 2008-03-11 17:02:20.000000000
2002 May 22
0
[PATCH] connect() timeout
Here are the new versions of this widely used patch for OpenSSH 3.2.2p1
and 3.2.3p1.
The patch avoids waiting to long when using ssh() or scp() on a down host,
it is usefull when you have to update many hosts via rsync or rdist themselves
relying upon ssh(). It enables a new option 'ConnectTimeout' to control
exactly the timeout value, so that it can be used even on slow links.
These
2002 Apr 03
1
[PATCH] connect() timeout
Here is a version of this widely used patch specific for OpenSSH 3.1p1,
as it is still not in the main tree (perhap one day...)
The patch avoids spending too much time when doing an ssh()/scp() on a
down host, as it does not depend off the default TCP timeout used
by connect().
Patch was tested on Linux, Solaris and HP-UX.
The patch can also be found on:
2003 Apr 15
0
Connect timeout patch
This patch avoids spending too much time during connect() when doing an
ssh()/scp() on a down host. It uses a new client option called
ConnectTimeout and is useful for rsync or rdist commands using ssh().
See http://bugzilla.mindrot.org/show_bug.cgi?id=207 for detailled info.
-------------- next part --------------
--- openssh-3.6.1p1/readconf.c.ORIG Tue Apr 15 23:06:30 2003
+++
2014 Dec 05
2
[PATCH] p2v: wait for qemu-nbd before starting conversion (RHBZ#1167774)
Wait up to 10 seconds for qemu-nbd to start up and respond to clients.
Otherwise the conversion server may attempt to connect before qemu-nbd
is ready to serve it.
---
p2v/conversion.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
p2v/p2v.h | 1 +
2 files changed, 73 insertions(+)
diff --git a/p2v/conversion.c b/p2v/conversion.c
index cb2deed..1aefcc6 100644
---
2004 Aug 06
2
Re: PATCH: increase network congestion resilience
On Friday 17 January 2003 20:17, Karl Heyes shaped the electrons to say:
> I would suggest a slightly different approach.
>
> Instead of increasing the syscall overhead for all sockets, trapping
> for uncommon cases. Try the sock_write_bytes and if that is
> continuously having to queue (ie not all data can be sent) then display
> the warning, maybe make it a run-time option
2002 Oct 17
0
[PATCH] connect() timeout for OpenSSH-3.5p1
Here is the version of this patch for the last portable version of
OpenSSH (3.5p1), as it is not included in the main tree.
The patch avoids waiting to long when using ssh() or scp() on a down host,
it is usefull when you have to update many hosts via rsync or rdist themselves
relying upon ssh(). It enables a new option 'ConnectTimeout' to control
exactly the timeout value, so that it can
2014 Dec 15
0
[PATCH] p2v: avoid connecting to ourself while probing qemu-nbd (RHBZ#1167774)
---
p2v/conversion.c | 43 +++++++++++++++++++++++++++++++++++++------
1 file changed, 37 insertions(+), 6 deletions(-)
diff --git a/p2v/conversion.c b/p2v/conversion.c
index 4ff7ecc..14e7b3b 100644
--- a/p2v/conversion.c
+++ b/p2v/conversion.c
@@ -398,7 +398,8 @@ wait_qemu_nbd (int nbd_local_port, int timeout_seconds)
{
int sockfd;
int result = -1;
- struct sockaddr_in addr;
+ int
2004 Aug 06
0
Some diffs to libshout for MacOSX
I've applied this, with the difference that the select timeout is 30
seconds to match the poll timeout. It looks like libshout treats a
timeout as a fatal error?
On Monday, 04 February 2002 at 08:32, SKoT McDonald wrote:
> Resubmission of patches with curteous nods from the MusicKit Project...
>
> - SKoT
>
> ----- Original Message -----
> From: "Stephen Brandon"
2004 Aug 06
1
patch file submission: libshout sock.c
Hello icecast dev,
Would like to resubmit a patch to libshout's sock.c that is needed
for happy compilation on MacOSX.
This is the libshout patch that fixes sock.c's dependency upon poll.h.
It replaces the poll function, which isn't found in MacOSX, with the
more universally unix friendly select() call. Apply as follows:
* save the attached patch file into the directory above
2014 Dec 12
2
[PATCH] p2v: avoid connecting to ourself while probing qemu-nbd (RHBZ#1167774)
---
p2v/conversion.c | 32 ++++++++++++++++++++++++++------
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git a/p2v/conversion.c b/p2v/conversion.c
index 4ff7ecc..5c0c78e 100644
--- a/p2v/conversion.c
+++ b/p2v/conversion.c
@@ -44,6 +44,16 @@
/* How long to wait for qemu-nbd to start (seconds). */
#define WAIT_QEMU_NBD_TIMEOUT 10
+/* Source port for probing qemu-nbd. Should be one
2006 Nov 23
1
BUG: warning at kernel/softirq.c:141
Hello ext3-users,
we have an oopsy situation here:
we have 4 machines: 3 client nodes, 1 master: the master holds a fairly
big repository of small files. The repo's current size is ~40GB
with ~1.2 M files in ~100 directories. Now, we like to rsync changes
from the master to the client nodes, which is working perfectly for 2
nodes, but our 3rd node oopses "sometimes", rendering
2017 Mar 06
0
[PATCH 6/6] p2v: fix possible close(-1) issue
Make sure the error handler (i.e. the code after the 'cleanup' label)
does not attempt to call close(-1), in case 'sockfd' is not initialized
yet.
---
p2v/nbd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/p2v/nbd.c b/p2v/nbd.c
index ee21005..29ca40d 100644
--- a/p2v/nbd.c
+++ b/p2v/nbd.c
@@ -722,7 +722,8 @@ wait_for_nbd_server_to_start (const char
2018 Feb 23
6
RFC 8305 Happy Eyeballs in OpenSSH
Hello,
I use hosts that are dual stack configured (IPv4 and IPv6) and it
happens that connectivity through one or the other is broken and
timeouts. In these case connection to the SSH server can take quite some
time as ssh waits for the first address to timeout before trying the
next.
So I gave a stab at implementing RFC 8305. This patch implements part of
it in sshconnect.c.
* It does not do
2014 Feb 10
3
What magic did openssh do to handle programs like VIM?
Hi,
I'm trying to write my own remote shell program,
It simply connects to a remote server then copy the sock fd to stdin,
stdout and stderr. And it works.
But I found several problems:
1. It doesn't handle characters like ^A ^E or tab (any bash/readline stuff)
-> openssh itself doesn't seem to incorporate readline, so the
magic is not on readline
2. If I run
2004 Aug 06
2
Some diffs to libshout for MacOSX
Brendan,
Thanks for applying these patches - that's great.
We're about to release the latest version of our SndKit frameworks, which
require libshout to be installed in order to compile. Up until now we have
provided the set of patches that we sent to you, and instructed people to
download the iceS-0.2.2 package, apply the patches, and compile from there.
What we'd prefer though
2016 Dec 20
0
[Bug 1104] New: Use close on exec flags instead of fcntl
https://bugzilla.netfilter.org/show_bug.cgi?id=1104
Bug ID: 1104
Summary: Use close on exec flags instead of fcntl
Product: iptables
Version: CVS (please indicate timestamp)
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: iptables
Assignee:
2004 Aug 06
2
Some diffs to libshout for MacOSX
Resubmission of patches with curteous nods from the MusicKit Project...
- SKoT
----- Original Message -----
From: "Stephen Brandon" <stephen@brandonitconsulting.co.uk>
To: <icecast-dev@xiph.org>
Sent: Wednesday, January 16, 2002 1:26 PM
Subject: [icecast-dev] Some diffs to libshout for MacOSX
<p>> Hi,
>
> I'm part of a project developing the open source
2002 Jan 26
5
[PATCH] Connect timeout
The attached patch adds a new 'ConnectTimeout' option (man page updated
in patch) to avoid wasting time when the target host is down. I needed that
because I was using rsync/rdist over ssh for massive files update and the
default connect() took too long for my purpose.
The patch was tested on Linux only, but I used a similar one for ssh 1.2.XX
on Linux, Solaris and HP-UX without