shithub: riscv

Download patch

ref: 65e0e1c3e37c966d0c18178ad8a4c54c0c0fbce9
parent: 0da9e3a7f508a0b47fa71abc3585066100c6ccbf
parent: 8f1eb1ac77640d9cd189c49fe48af8cde65eceb1
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jun 24 17:54:21 EDT 2018

merge

--- a/sys/src/cmd/webfs/http.c
+++ b/sys/src/cmd/webfs/http.c
@@ -795,12 +795,16 @@
 				i -= (i % 100);
 				goto Status;
 			}
+			goto Error;
 		case 100:	/* Continue */
 		case 101:	/* Switching Protocols */
+		case 102:	/* Processing */
+		case 103:	/* Early Hints */
 			while(k = rhdr){
 				rhdr = k->next;
 				free(k);
 			}
+			strcpy(status, "0 No status");
 			goto Cont;
 		case 304:	/* Not Modified */
 			nobody = 1;