Rev 4541 | Rev 5537 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4541 | Rev 5534 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2013. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;; HTTP library for KolibriOS ;; |
6 | ;; HTTP library for KolibriOS ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; Written by hidnplayr@kolibrios.org ;; |
8 | ;; Written by hidnplayr@kolibrios.org ;; |
Line 12... | Line 12... | ||
12 | ;; ;; |
12 | ;; ;; |
13 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
13 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 14... | Line 14... | ||
14 | 14 | ||
- | 15 | ||
- | 16 | ; Bitflags for http_msg.flags |
|
15 | 17 | ||
16 | ; Bitflags for http_msg.flags |
18 | ; status |
17 | FLAG_HTTP11 = 1 shl 0 |
19 | FLAG_HTTP11 = 1 shl 0 |
18 | FLAG_GOT_HEADER = 1 shl 1 |
20 | FLAG_GOT_HEADER = 1 shl 1 |
19 | FLAG_GOT_ALL_DATA = 1 shl 2 |
21 | FLAG_GOT_ALL_DATA = 1 shl 2 |
20 | FLAG_CONTENT_LENGTH = 1 shl 3 |
22 | FLAG_CONTENT_LENGTH = 1 shl 3 |
- | 23 | FLAG_CHUNKED = 1 shl 4 |
|
- | 24 | FLAG_CONNECTED = 1 shl 5 |
|
- | 25 | ||
21 | FLAG_CHUNKED = 1 shl 4 |
26 | ; user options |
- | 27 | FLAG_KEEPALIVE = 1 shl 8 |
|
- | 28 | FLAG_MULTIBUFF = 1 shl 9 |
|
22 | FLAG_CONNECTED = 1 shl 5 |
29 | |
23 | ; ERROR flags go into the upper word |
30 | ; error |
24 | FLAG_INVALID_HEADER = 1 shl 16 |
31 | FLAG_INVALID_HEADER = 1 shl 16 |
25 | FLAG_NO_RAM = 1 shl 17 |
32 | FLAG_NO_RAM = 1 shl 17 |
26 | FLAG_SOCKET_ERROR = 1 shl 18 |
33 | FLAG_SOCKET_ERROR = 1 shl 18 |