diff options
m--------- | lib/the_Foundation | 0 | ||||
-rw-r--r-- | res/about/version.gmi | 6 | ||||
-rw-r--r-- | src/gmrequest.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/lib/the_Foundation b/lib/the_Foundation | |||
Subproject 52fc0ee9c948ddfbd5918ce1449ab32b910c005 | Subproject 1b2c85274687bd2aea29917bffc71f62c3f3a4d | ||
diff --git a/res/about/version.gmi b/res/about/version.gmi index 4fb8eb37..b50a2674 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -7,7 +7,11 @@ | |||
7 | # Release notes | 7 | # Release notes |
8 | 8 | ||
9 | ## 0.8 | 9 | ## 0.8 |
10 | * ${CTRL+}Click opens tab in background, ${SHIFT+}${CTRL+}Click opens as foreground tab. | 10 | * ${CTRL+}Click opens tab in background, ${SHIFT+}${CTRL+}Click opens as foreground tab. The same modifier keys work with keyboard navigation. |
11 | |||
12 | ## 0.7.2 | ||
13 | * Fixed parsing of the server's response. In some cases it was possible that the response was only partially read. | ||
14 | * Fixed handling of TLS/SSL connection being closed without the socket being closed. | ||
11 | 15 | ||
12 | ## 0.7.1 | 16 | ## 0.7.1 |
13 | * Fixed build on OpenBSD. | 17 | * Fixed build on OpenBSD. |
diff --git a/src/gmrequest.c b/src/gmrequest.c index bb6ac23e..f15d80f1 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -256,7 +256,7 @@ static void readIncoming_GmRequest_(iAnyObject *obj) { | |||
256 | notifyDone = iTrue; | 256 | notifyDone = iTrue; |
257 | } | 257 | } |
258 | const int code = toInt_String(&d->resp.meta); | 258 | const int code = toInt_String(&d->resp.meta); |
259 | if (code == 0 || cstr_String(&d->resp.meta)[2] != ' ') { | 259 | if (code == 0) { |
260 | clear_String(&d->resp.meta); | 260 | clear_String(&d->resp.meta); |
261 | d->resp.statusCode = invalidHeader_GmStatusCode; | 261 | d->resp.statusCode = invalidHeader_GmStatusCode; |
262 | d->state = finished_GmRequestState; | 262 | d->state = finished_GmRequestState; |