Curl under cygwin - TCP keepalive
I need to download a file from a remote server via a https request, and the
remote server takes several minutes to prepare the file.
Without any keepalives, the remote end will terminate the socket, but
it doesn't close it (which I know is weird).
Running curl w
I downloaded and compiled curl on cygwin, version 3.1.5-1 using:
./configure --disable-shared --enable-debug --prefix=/usr
The build completed correctly.
When I attempt to use curl to access an https:// REST endpoint that takes
up to 5 minutes to respond with the:
--keepalive-time 5
command li
These constants are usually defined in netinet/tcp.h but are not defined
anywhere in cygwin.
As a result there does not seem to be a way to enable the socket level keep
alives in cygwin.
One result of this is curl's --keepalive-time option does not work, but it
would affect any attempt to enable
at 2:21 PM Ken Brown via Cygwin
wrote:
> On 6/7/2020 9:20 AM, Cary Lewis via Cygwin wrote:
> > These constants are usually defined in netinet/tcp.h but are not defined
> > anywhere in cygwin.
> >
> > As a result there does not seem to be a way to enable the socket
I am running cygwin 64 bit and have installed the latest 7.3.7 version of
php.
When I attempt to run composer, I get a fatal out of memory error.
In my php.ini file I have set max memory to -1, and
php -r "echo ini_get('memory_limit').PHP_EOL;"
-1
confirms it.
I saw a stackoverflow article rel
Yes, I reported this last week - composer (composer.phar) gives out of
memory errors, despite having max_memory_limit set to -1.
I have tried to compile php myself, but to no avail - php 7.3.19 doesn't
compile, there are errors in the zend framework.
php-7.3.19/Zend/zend_portability.h:381:18: err
I would like to build php locally. I know I can use the setup.exe installer
and select the src, but there must be a repo somewhere with the cygport
files?
Thanks.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:https://c
I appreciate the reply, I found those links but they only list the files in
the src ports - where can I download them from?
On Mon, Jun 29, 2020 at 11:04 AM Ken Brown via Cygwin
wrote:
> On 6/29/2020 9:17 AM, Cary Lewis via Cygwin wrote:
> > I would like to build php locally. I know
I did a git clone:
git clone https://github.com/php/php-src.git
then:
./configure --with-pear --enable-mbstring --with-curl --with-openssl
--with-xmlrpc --enable-soap --enable-zip --with-jpeg-dir
--with-png-dir --with-mysqli --enable-embedded-mysqli
--with-freetype-dir--enable
Thank you - I didn't realize that the php-7.3.7-1-src.tar.xz contains the
patches as well as the actual php src: php-7.3.7.tar.xz
the -src.tar.xz implies cygwin sources included patches, etc.
On Mon, Jun 29, 2020 at 3:19 PM Marco Atzeri via Cygwin
wrote:
> On 29.06.2020 19:43, Cary L
long term implications for cygwin?
On Tue, Jun 30, 2020 at 7:15 AM Corinna Vinschen
wrote:
> On Jun 7 14:56, Cary Lewis via Cygwin wrote:
> > Thanks very much for the reply - I will wait for Corinna's take on this
> as
> > well - the patch shouldn't be too hard.
>
>
PM Corinna Vinschen
wrote:
> On Jun 30 18:53, Corinna Vinschen wrote:
> > On Jun 30 09:46, Cary Lewis via Cygwin wrote:
> > > Thanks for the reply. The answer to your question is that the 2 hour
> keep
> > > alive was not sufficient for a particular use case I encounter
t;
>> On Jun 30 18:53, Corinna Vinschen wrote:
>> > On Jun 30 09:46, Cary Lewis via Cygwin wrote:
>> > > Thanks for the reply. The answer to your question is that the 2 hour
>> keep
>> > > alive was not sufficient for a particular use case I enco
I am running php on two different Windows 10 computers, and on one machine
I can run composer with no issues, but on other I get our of memory issues.
Both report:
php -v
PHP 7.3.7 (cli) (built: Jul 21 2019 18:10:35) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c)
Thank you Ken, I followed your instructions and I am now able to use https
and composer with your versions of php.
Did you have to apply any of the cygport patches?
I hope that the offical cygwin repos and mirros get updated.
Thanks again.
On Tue, Aug 4, 2020 at 6:45 AM Ken Brown wrote:
> [Pl
Here is a summary of what's going on.
Originally the eavestrough downspout was terminating where the deck ends.
Our neighbours downspout terminates in roughly the same spot on their side
of the fence.
With the big rain storms over the weekend, water found its way under the
deck and to basement wi
In a cygwin process that is started either from mintty or bash directly the
following:
$ user=234
$ ./cat <(echo $user)
234
works as expected.
But after a chroot:
$ chroot . ./bash
user=234
$ ./cat <(echo $user)
./cat: /dev/fd/63: No such file or directory
In the directory I am chrooting in,
On one machine I have cygwin version 3.1.7(0.340/5/3), I can copy cygwin
binaries and the corresponding dlls to a folder and then run the cygwin
programs without any problems.
But on another machine I have a newer cygwin, 3.4.7-1.x86_64, and when I
do the same thing, the programs do not work:
e
Attempting to run:
openssl enc -base64 -i file
gives the following error:
42949672976:error:25066067:DSO support routines:dlfcn_load:could not load
the shared library:crypto/dso/dso_dlfcn.c:118:filename(libproviders.dll):
No such file or directory
42949672976:error:25070067:DSO support routines:
Is there a way to access files from a WSL 2 Linux distro from Cygwin?
>From Windows:
\\wsl$\Ubuntu is accessible from Windows Explorer, but cygwin does not seem
to recogonize:
//wsl\$
nor does it recognize //HOSTNAME/wsl\$
but //HOSTNAME/c\$ works.
Thanks for any help you can provide.
--
Prob
Something ran off the rails with my windows 10 PC running cygwin a few
months ago.
I am using Veritas System Recovery System to backup my machine, and it
started failing about 6 months ago.
When I run a diagnostic that is supposed to confirm if the VSS subsystem is
working correctly, it complains
Is there a way to install and run v2 of the aws cli under cygwin?
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
22 matches
Mail list logo