Subversion Repositories Kolibri OS

Rev

Rev 5732 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5732 Rev 7969
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                 ;;
2
;;                                                                 ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved.    ;;
3
;; Copyright (C) KolibriOS team 2004-2020. 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 26... Line 26...
26
; user options
26
; user options
27
FLAG_KEEPALIVE          = 1 shl 8
27
FLAG_KEEPALIVE          = 1 shl 8
28
FLAG_STREAM             = 1 shl 9
28
FLAG_STREAM             = 1 shl 9
29
FLAG_REUSE_BUFFER       = 1 shl 10
29
FLAG_REUSE_BUFFER       = 1 shl 10
30
FLAG_BLOCK              = 1 shl 11
30
FLAG_BLOCK              = 1 shl 11
-
 
31
FLAG_RING               = 1 shl 12
Line 31... Line 32...
31
 
32
 
32
; error
33
; error
33
FLAG_INVALID_HEADER     = 1 shl 16
34
FLAG_INVALID_HEADER     = 1 shl 16
34
FLAG_NO_RAM             = 1 shl 17
35
FLAG_NO_RAM             = 1 shl 17      ; alloc failed
35
FLAG_SOCKET_ERROR       = 1 shl 18
36
FLAG_SOCKET_ERROR       = 1 shl 18
36
FLAG_TIMEOUT_ERROR      = 1 shl 19
37
FLAG_TIMEOUT_ERROR      = 1 shl 19
-
 
38
FLAG_TRANSFER_FAILED    = 1 shl 20
Line 37... Line 39...
37
FLAG_TRANSFER_FAILED    = 1 shl 20
39
FLAG_NEED_MORE_SPACE    = 1 shl 21      ; need more space in existing buffer
Line 38... Line 40...
38
 
40
 
39
struc http_msg {
41
struc http_msg {