* [Edbrowse-dev] bgl command
@ 2015-01-15 15:38 Karl Dahlke
2015-01-17 6:07 ` Adam Thompson
0 siblings, 1 reply; 3+ messages in thread
From: Karl Dahlke @ 2015-01-15 15:38 UTC (permalink / raw)
To: Edbrowse-dev
> I was also wondering if it'd be possible to have a message if you try and quit
> with a download in progress,
Probably yes. But if you quit, the downloads continue.
At least they do on my system, I tested it.
And you still get the download complete messages when they are done.
That is what you would want.
edbrowse is not the process group leader, that is the shell,
so when edbrowse dies its children need not die.
All that being said, it would be nice to get notice,
as edbrowse leaves the building,
that you still have downloads in progress.
Karl Dahlke
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Edbrowse-dev] bgl command
2015-01-15 15:38 [Edbrowse-dev] bgl command Karl Dahlke
@ 2015-01-17 6:07 ` Adam Thompson
0 siblings, 0 replies; 3+ messages in thread
From: Adam Thompson @ 2015-01-17 6:07 UTC (permalink / raw)
To: Karl Dahlke; +Cc: Edbrowse-dev
[-- Attachment #1: Type: text/plain, Size: 855 bytes --]
On Thu, Jan 15, 2015 at 10:38:07AM -0500, Karl Dahlke wrote:
> > I was also wondering if it'd be possible to have a message if you try and quit
> > with a download in progress,
>
> Probably yes. But if you quit, the downloads continue.
> At least they do on my system, I tested it.
> And you still get the download complete messages when they are done.
> That is what you would want.
> edbrowse is not the process group leader, that is the shell,
> so when edbrowse dies its children need not die.
> All that being said, it would be nice to get notice,
> as edbrowse leaves the building,
> that you still have downloads in progress.
Agreed. It'd also be nice to have a way to cancel a background download from
within edbrowse (yes I could do this with ps, kill and a bit of guess work,
but a command'd be much nicer).
Cheers,
Adam.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Edbrowse-dev] curl seg fault
@ 2015-01-14 12:05 Karl Dahlke
2015-01-15 15:27 ` [Edbrowse-dev] bgl command Adam Thompson
0 siblings, 1 reply; 3+ messages in thread
From: Karl Dahlke @ 2015-01-14 12:05 UTC (permalink / raw)
To: Edbrowse-dev
If you would pull the latest, and then see if you can reproduce my seg fault,
because it is very very strange.
I think it's another curl thing so hoping Chris can help me here.
First, my latest push fixes a small bug wherein
r filename
would offer to download that file in certain cases.
But if you are commanding to read it into the buffer
then you never want to download it.
That was a one line fix, but did not fix or affect the following bug.
Bring up edbrowse with no args, an empty buffer, and then
r https://login.persona.org/include.js
Type qt to quit, bypassing as much machinery as possible.
seg fault.
This test does not involve javascript at all,
the process is never launched.
The seg fault goes away if you comment out the line
curl_global_cleanup();
in main.c line 933.
Here's the interesting part; the seg fault also goes away, at least for me,
if you type vs first.
Don't verify certificates.
Read in the file as usual, and quit, and all is well.
What's up with that???
It means if you can't reproduce it it might depend on my local cert file.
It might depend on a lot of things.
Wonder if it is yet another bug in my somewhat older open ssl,
but damnit it's not that much older!
An unrelated question: bgl tracks and displays background downloads,
should it also track and display foreground downloads?
Obviously none of these will ever be in the in progress state.
Karl Dahlke
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-17 6:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-15 15:38 [Edbrowse-dev] bgl command Karl Dahlke
2015-01-17 6:07 ` Adam Thompson
-- strict thread matches above, loose matches on Subject: below --
2015-01-14 12:05 [Edbrowse-dev] curl seg fault Karl Dahlke
2015-01-15 15:27 ` [Edbrowse-dev] bgl command Adam Thompson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).