projects
/
simpleserver-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Changes and added a few lines of documentation.
[simpleserver-moved-to-github.git]
/
ztest.pl
diff --git
a/ztest.pl
b/ztest.pl
index
7ed6b68
..
ba3f63d
100755
(executable)
--- a/
ztest.pl
+++ b/
ztest.pl
@@
-23,6
+23,10
@@
sub my_init_handler {
$args->{IMP_VER} = "3.14159";
$args->{ERR_CODE} = 0;
$args->{HANDLE} = $session;
$args->{IMP_VER} = "3.14159";
$args->{ERR_CODE} = 0;
$args->{HANDLE} = $session;
+ if (defined($args->{PASS}) && defined($args->{USER})) {
+ printf("Received USER/PASS=%s/%s\n", $args->{USER},$args->{PASS});
+ }
+
}
sub my_scan_handler {
}
sub my_scan_handler {
@@
-126,7
+130,10
@@
$handler->launch_server("ztest.pl", @ARGV);
## $Log: ztest.pl,v $
## $Log: ztest.pl,v $
-## Revision 1.10 2001-08-30 13:15:11 sondberg
+## Revision 1.11 2002-09-16 13:55:53 sondberg
+## Added support for authentication into SimpleServer.
+##
+## Revision 1.10 2001/08/30 13:15:11 sondberg
## Corrected a memory leak, one more to go.
##
## Revision 1.9 2001/08/29 11:48:36 sondberg
## Corrected a memory leak, one more to go.
##
## Revision 1.9 2001/08/29 11:48:36 sondberg