Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
7342aa8c
Commit
7342aa8c
authored
26 years ago
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Added some more debug.
Rev: lib/modules/SSL.pmod/sslfile.pike:1.10
parent
c5554c2c
No related branches found
Branches containing commit
Tags
roxen/1.2.24
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/SSL.pmod/sslfile.pike
+13
-3
13 additions, 3 deletions
lib/modules/SSL.pmod/sslfile.pike
with
13 additions
and
3 deletions
lib/modules/SSL.pmod/sslfile.pike
+
13
−
3
View file @
7342aa8c
/* $Id: sslfile.pike,v 1.
9
1998/0
3
/1
4 05:40:46 nisse
Exp $
/* $Id: sslfile.pike,v 1.
10
1998/0
4
/1
0 21:21:54 grubba
Exp $
*
*/
...
...
@@ -212,6 +212,9 @@ private void ssl_close_callback(mixed id)
void set_accept_callback(function(mixed:void) a)
{
#ifdef SSL3_DEBUG
werror("SSL.sslport: set_accept_callback\n");
#endif
accept_callback = a;
}
...
...
@@ -219,6 +222,9 @@ function query_accept_callback() { return accept_callback; }
void set_read_callback(function(mixed,string:void) r)
{
#ifdef SSL3_DEBUG
werror("SSL.sslport: set_read_callback\n");
#endif
read_callback = r;
}
...
...
@@ -238,6 +244,9 @@ function query_write_callback() { return write_callback; }
void set_close_callback(function(mixed:void) c)
{
#ifdef SSL3_DEBUG
werror("SSL.sslport: set_close_callback\n");
#endif
close_callback = c;
}
...
...
@@ -246,7 +255,7 @@ function query_close_callback() { return close_callback; }
void set_nonblocking(function ...args)
{
#ifdef SSL3_DEBUG
werror("SSL.sslfile->set_nonblocking
\n"
);
werror(
sprintf(
"SSL.sslfile->set_nonblocking
(%O)\n", args)
);
#endif
switch (sizeof(args))
{
...
...
@@ -258,7 +267,7 @@ void set_nonblocking(function ...args)
set_close_callback(args[2]);
break;
default:
throw( ({ "SSL.sslfile->set_blocking: Wrong number of arguments\n",
throw( ({ "SSL.sslfile->set_
non
blocking: Wrong number of arguments\n",
backtrace() }) );
}
blocking = 0;
...
...
@@ -292,6 +301,7 @@ void create(object f, object c)
#ifdef SSL3_DEBUG
werror("SSL.sslfile->create\n");
#endif
socket::create();
context = c;
read_buffer = write_buffer = "";
socket::assign(f);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment