[hackers] [quark] Fix handling of unexpected hangups || Laslo Hunhold

2021-01-30 Thread git
commit f1892c4dffa7df6995cd8c9ebd47e0ce7f0e457e Author: Laslo Hunhold AuthorDate: Sun Jan 31 00:39:11 2021 +0100 Commit: Laslo Hunhold CommitDate: Sun Jan 31 00:39:11 2021 +0100 Fix handling of unexpected hangups During slowloris-stress-testing I noticed that closing the too

Re: [hackers] [quark][PATCH] Return -1 in case of errors in queue event wrapper functions.

2021-01-30 Thread Laslo Hunhold
On Sat, 30 Jan 2021 13:54:58 +0100 Rainer Holzner wrote: Dear Rainer, > Use same data type for nready (number of events) as returned by > queue_wait(). --- > [...] > - int qfd, nready, fd; > + int qfd, fd; > + ssize_t nready; > [...] > + return -1; thanks for spo

[hackers] [quark] Return -1 in case of errors in queue event wrapper functions. || Rainer Holzner

2021-01-30 Thread git
commit 3729e7222aafc4c4ca30351748a89e05f78e2230 Author: Rainer Holzner AuthorDate: Sat Jan 30 13:54:58 2021 +0100 Commit: Laslo Hunhold CommitDate: Sat Jan 30 15:31:03 2021 +0100 Return -1 in case of errors in queue event wrapper functions. Use same data type for nready (num

Re: [hackers] [quark] Ignore queries and fragments in URIs || Laslo Hunhold

2021-01-30 Thread Laslo Hunhold
On Sat, 30 Jan 2021 14:30:12 +0100 Hiltjo Posthuma wrote: > Cool story, bro. To be continued ;)

Re: [hackers] [quark] Ignore queries and fragments in URIs || Laslo Hunhold

2021-01-30 Thread Hiltjo Posthuma
On Sat, Jan 30, 2021 at 01:11:17PM +0100, g...@suckless.org wrote: > commit 319ba7083fdde836d6614c6b8b228bf3a9849e95 > Author: Laslo Hunhold > AuthorDate: Sat Jan 30 12:53:00 2021 +0100 > Commit: Laslo Hunhold > CommitDate: Sat Jan 30 13:10:32 2021 +0100 > > Ignore queries and fragme

[hackers] [quark][PATCH] Return -1 in case of errors in queue event wrapper functions.

2021-01-30 Thread Rainer Holzner
Use same data type for nready (number of events) as returned by queue_wait(). --- main.c | 3 ++- queue.c | 14 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/main.c b/main.c index e383498..2911bc8 100644 --- a/main.c +++ b/main.c @@ -212,7 +212,8 @@ thread_method(

[hackers] [quark] Ignore queries and fragments in URIs || Laslo Hunhold

2021-01-30 Thread git
commit 319ba7083fdde836d6614c6b8b228bf3a9849e95 Author: Laslo Hunhold AuthorDate: Sat Jan 30 12:53:00 2021 +0100 Commit: Laslo Hunhold CommitDate: Sat Jan 30 13:10:32 2021 +0100 Ignore queries and fragments in URIs Previously, a request for "/index.html" would yield a 200, w