Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
S
Sources
N
Networking
Fetchers
HTTP
Commits
7c0341e7
Commit
7c0341e7
authored
Mar 25, 1998
by
Stewart Brodie
Browse files
Debug code now HTTPS aware; registration of https: protocol with the URL module now sanitised.
parent
1f7b228c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
c/module
c/module
+4
-2
cmhg/HttpHdr
cmhg/HttpHdr
+2
-2
No files found.
c/module
View file @
7c0341e7
...
...
@@ -387,7 +387,8 @@ _kernel_oserror *swi_handler(int swi_offset, _kernel_swi_regs *r, void *pw)
_kernel_oserror
*
e
;
#ifdef TRACE
static
const
char
*
swi
[]
=
{
"GetData"
,
"Status"
,
"ReadData"
,
"Stop"
};
protocol_debug
(
">>Handling SWI &%02X (HTTP_%s) for R1=%08x
\n
"
,
swi_offset
,
protocol_debug
(
">>Handling SWI &%02X (HTTP_%s%s) for R1=%08x
\n
"
,
swi_offset
,
(
swi_offset
>=
16
&&
(
swi_offset
-
16
)
<
(
sizeof
(
swi
)
/
sizeof
(
char
*
)))
?
"Secure"
:
""
,
swi_offset
<
(
sizeof
(
swi
)
/
sizeof
(
char
*
))
?
swi
[
swi_offset
]
:
(
swi_offset
>=
16
&&
(
swi_offset
-
16
)
<
(
sizeof
(
swi
)
/
sizeof
(
char
*
)))
?
swi
[
swi_offset
-
16
]
:
swi_offset
==
HTTP_EnumerateCookies
?
"EnumerateCookies"
:
...
...
@@ -397,8 +398,9 @@ _kernel_oserror *swi_handler(int swi_offset, _kernel_swi_regs *r, void *pw)
#endif
e
=
swi_handler_2
(
swi_offset
,
r
,
pw
);
#ifdef TRACE
protocol_debug
(
"<<Exiting SWI &%02X (HTTP_%s) for R1=%08x %s "
protocol_debug
(
"<<Exiting SWI &%02X (HTTP_%s
%s
) for R1=%08x %s "
"R0=%s; R2=%d (=&%p); R3=%d; R4=%d; R5=%d
\n\n
"
,
swi_offset
,
(
swi_offset
>=
16
&&
(
swi_offset
-
16
)
<
(
sizeof
(
swi
)
/
sizeof
(
char
*
)))
?
"Secure"
:
""
,
swi_offset
<
(
sizeof
(
swi
)
/
sizeof
(
char
*
))
?
swi
[
swi_offset
]
:
(
swi_offset
>=
16
&&
(
swi_offset
-
16
)
<
(
sizeof
(
swi
)
/
sizeof
(
char
*
)))
?
swi
[
swi_offset
-
16
]
:
swi_offset
==
HTTP_EnumerateCookies
?
"EnumerateCookies"
:
...
...
cmhg/HttpHdr
View file @
7c0341e7
...
...
@@ -21,7 +21,7 @@
title-string:
AcornHTTP
; Version information
help-string:
Acorn_HTTP
0
.
7
7
help-string:
Acorn_HTTP
0
.
7
8
; Initialisation routine.
initialisation-code:
module_init
...
...
@@ -55,4 +55,4 @@ service-call-handler: service_handler &83E00 &83E02
vector-handlers:
callevery_entry
/
callevery_handler
,
callback_entry
/
callback_handler
date-string:
19
Mar
1998
date-string:
25
Mar
1998
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment