apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Spinetti <m.spine...@pisa.iol.it>
Subject RedHat Linux 7.1 Problem apr (More information 2)
Date Fri, 09 Jan 2004 12:49:33 GMT
This is the output of the program testsock in the test directory.

I have enclose between ** what it seems starnge to me.


 >./testsock
Initializing.........OK
Creating context.......OK
This test relies on the process test working.  Please
run that test first, and only run this test when it
completes successfully.  Alternatively, you could run
server and client by yourself.
Creating children to run network tests.......
server: Initializing............................ OK
server: Creating context........................ OK
server: Preparing getopt........................ OK
server: Creating new socket..................... OK
server: Setting option APR_SO_NONBLOCK.......... OK
server: Setting option APR_SO_REUSEADDR......... OK
server: Binding socket to port.................. OK
server: Listening to socket..................... OK
server: Setting up for polling.................. OK
Initializing.........OK
Creating context.......OK
        Client:  Making socket address...............OK
        Client:  Creating new socket.......OK
        Client:  Setting socket timeout.......OK
        Client:  Connecting to socket.......OK
        Client socket: 127.0.0.1:43847 -> 127.0.0.1:8021
        Client:  Trying to send data over socket.......OK
        Client:  Trying to receive data over socket.......server: 
Polling for socket...................... OK
server: Accepting a connection.................. OK
Server socket: 127.0.0.1:8021 -> 127.0.0.1:43847
server: Receiving data from socket.............. OK
OK
        Client:  Shutting down socket.......OK
        Client:  Closing down socket.......OK
server: Sending data over socket................ OK
server: Shutting down accepted socket........... OK
server: Closing duplicate socket................ OK
server: Closing original socket................. OK
Network test completed.
Creating children to run network tests.......
Waiting for a client to connect...
Creating a test file...
Sending the file...
Processing a client...
apr_socket_sendfile() updated offset with 0
apr_socket_sendfile() updated len with 370049
bytes really sent: 370049
After apr_socket_sendfile(), the kernel file pointer is at offset 0.
server: apr_socket_sendfile() worked as expected!
client: apr_socket_sendfile() worked as expected!
Network test completed.
Creating children to run network tests.......
Waiting for a client to connect...
Creating a test file...
Sending the file...
Calling apr_socket_sendfile()...
Headers (3):
        15 bytes (1)
        5 bytes (E)
        80000 bytes (^)
File: 200000 bytes from offset 0
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 65532 bytes
Calling apr_socket_sendfile()...
Headers (1):
        14488 bytes (^)
File: 200000 bytes from offset 0
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 81921 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 132567 bytes from offset 67433
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->11, sent 0 bytes
Processing a client...
Calling apr_socket_sendfile()...
Headers (0):
File: 132567 bytes from offset 67433
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 49152 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 83415 bytes from offset 116585
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->11, sent 0 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 83415 bytes from offset 116585
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 49152 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 34263 bytes from offset 165737
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->11, sent 0 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 34263 bytes from offset 165737
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 49152 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 0 bytes from offset 0
Trailers (1):
        75140 bytes
apr_socket_sendfile()->11, sent 0 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 0 bytes from offset 0
Trailers (1):
        75140 bytes
apr_socket_sendfile()->0, sent 49152 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 0 bytes from offset 0
Trailers (1):
        25988 bytes
apr_socket_sendfile()->11, sent 0 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 0 bytes from offset 0
Trailers (1):
        25988 bytes
apr_socket_sendfile()->0, sent 25988 bytes
After apr_socket_sendfile(), the kernel file pointer is at offset 0.
***********apr_socket_recv()->11/Resource temporarily unavailable 
(expected APR_EOF)*******************
Network test completed.
Creating children to run network tests.......
Waiting for a client to connect...
Creating a test file...
Sending the file...
Calling apr_socket_sendfile()...
Headers (3):
        15 bytes (1)
        5 bytes (E)
        80000 bytes (^)
File: 200000 bytes from offset 0
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 65532 bytes
Calling apr_socket_sendfile()...
Headers (1):
        14488 bytes (^)
File: 200000 bytes from offset 0
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 81921 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 132567 bytes from offset 67433
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
Processing a client...
apr_socket_sendfile()->0, sent 49152 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 83415 bytes from offset 116585
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 49152 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 34263 bytes from offset 165737
Trailers (3):
        19 bytes
        10 bytes
        90000 bytes
apr_socket_sendfile()->0, sent 49152 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 0 bytes from offset 0
Trailers (1):
        75140 bytes
apr_socket_sendfile()->0, sent 49152 bytes
Calling apr_socket_sendfile()...
Headers (0):
File: 0 bytes from offset 0
Trailers (1):
        25988 bytes
apr_socket_sendfile()->0, sent 25988 bytes
After apr_socket_sendfile(), the kernel file pointer is at offset 0.
server: apr_socket_sendfile() worked as expected!
client: apr_socket_sendfile() worked as expected!
Network test completed.


Thanks for any support.


--Marco






Mime
View raw message