synced with main repository

This commit is contained in:
Guenter Obiltschnig 2008-01-28 17:34:07 +00:00
parent 40e7be0bab
commit 2986d273a1
313 changed files with 395 additions and 348 deletions

View File

@ -1,7 +1,7 @@
# #
# Makefile # Makefile
# #
# $Id: //poco/Main/Net/Makefile#37 $ # $Id: //poco/svn/Net/Makefile#2 $
# #
# Makefile for Poco Net # Makefile for Poco Net
# #

View File

@ -1,7 +1,7 @@
# #
# Net.vmsbuild # Net.vmsbuild
# #
# $Id: //poco/Main/Net/Net.vmsbuild#1 $ # $Id: //poco/svn/Net/Net.vmsbuild#1 $
# #
LIB=PocoNet LIB=PocoNet
<SourceFilesHere> <SourceFilesHere>

View File

@ -1,7 +1,7 @@
// //
// AbstractHTTPRequestHandler.h // AbstractHTTPRequestHandler.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/AbstractHTTPRequestHandler.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/AbstractHTTPRequestHandler.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// AsyncSocketChannel.h // AsyncSocketChannel.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/AsyncSocketChannel.h#1 $ // $Id: //poco/svn/Net/include/Poco/Net/AsyncSocketChannel.h#2 $
// //
// Library: Net // Library: Net
// Package: AsyncIO // Package: AsyncIO

View File

@ -1,7 +1,7 @@
// //
// DNS.h // DNS.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/DNS.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/DNS.h#2 $
// //
// Library: Net // Library: Net
// Package: NetCore // Package: NetCore

View File

@ -1,7 +1,7 @@
// //
// DatagramSocket.h // DatagramSocket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/DatagramSocket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/DatagramSocket.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// DatagramSocketImpl.h // DatagramSocketImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/DatagramSocketImpl.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/DatagramSocketImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// DialogSocket.h // DialogSocket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/DialogSocket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/DialogSocket.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// FTPClientSession.h // FTPClientSession.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/FTPClientSession.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/FTPClientSession.h#2 $
// //
// Library: Net // Library: Net
// Package: FTP // Package: FTP

View File

@ -1,7 +1,7 @@
// //
// FTPStreamFactory.h // FTPStreamFactory.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/FTPStreamFactory.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/FTPStreamFactory.h#2 $
// //
// Library: Net // Library: Net
// Package: FTP // Package: FTP

View File

@ -1,7 +1,7 @@
// //
// FilePartSource.h // FilePartSource.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/FilePartSource.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/FilePartSource.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// HTMLForm.h // HTMLForm.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTMLForm.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTMLForm.h#2 $
// //
// Library: Net // Library: Net
// Package: HTML // Package: HTML

View File

@ -1,7 +1,7 @@
// //
// HTTPBasicCredentials.h // HTTPBasicCredentials.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPBasicCredentials.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPBasicCredentials.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPChunkedStream.h // HTTPChunkedStream.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPChunkedStream.h#4 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPChunkedStream.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPClientSession.h // HTTPClientSession.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPClientSession.h#6 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPClientSession.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPClient // Package: HTTPClient

View File

@ -1,7 +1,7 @@
// //
// HTTPCookie.h // HTTPCookie.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPCookie.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPCookie.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPFixedLengthStream.h // HTTPFixedLengthStream.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPFixedLengthStream.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPFixedLengthStream.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPHeaderStream.h // HTTPHeaderStream.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPHeaderStream.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPHeaderStream.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPMessage.h // HTTPMessage.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPMessage.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPMessage.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPRequest.h // HTTPRequest.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPRequest.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPRequest.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPRequestHandler.h // HTTPRequestHandler.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPRequestHandler.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPRequestHandler.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPRequestHandlerFactory.h // HTTPRequestHandlerFactory.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPRequestHandlerFactory.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPRequestHandlerFactory.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPResponse.h // HTTPResponse.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPResponse.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPResponse.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPServer.h // HTTPServer.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServer.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServer.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPServerConnection.h // HTTPServerConnection.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerConnection.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServerConnection.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPServerConnectionFactory.h // HTTPServerConnectionFactory.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerConnectionFactory.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServerConnectionFactory.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPServerParams.h // HTTPServerParams.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerParams.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServerParams.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPServerRequest.h // HTTPServerRequest.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerRequest.h#6 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServerRequest.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPServerRequestImpl.h // HTTPServerRequestImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerRequestImpl.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServerRequestImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPServerResponse.h // HTTPServerResponse.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerResponse.h#6 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServerResponse.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPServerResponseImpl.h // HTTPServerResponseImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerResponseImpl.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServerResponseImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPServerSession.h // HTTPServerSession.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerSession.h#4 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPServerSession.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPServer // Package: HTTPServer

View File

@ -1,7 +1,7 @@
// //
// HTTPSession.h // HTTPSession.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPSession.h#4 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPSession.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPSessionFactory.h // HTTPSessionFactory.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPSessionFactory.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPSessionFactory.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPClient // Package: HTTPClient

View File

@ -1,7 +1,7 @@
// //
// HTTPSessionInstantiator.h // HTTPSessionInstantiator.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPSessionInstantiator.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPSessionInstantiator.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTPClient // Package: HTTPClient

View File

@ -1,7 +1,7 @@
// //
// HTTPStream.h // HTTPStream.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPStream.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPStream.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HTTPStreamFactory.h // HTTPStreamFactory.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HTTPStreamFactory.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HTTPStreamFactory.h#2 $
// //
// Library: Net // Library: Net
// Package: HTTP // Package: HTTP

View File

@ -1,7 +1,7 @@
// //
// HostEntry.h // HostEntry.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/HostEntry.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/HostEntry.h#2 $
// //
// Library: Net // Library: Net
// Package: NetCore // Package: NetCore

View File

@ -1,7 +1,7 @@
// //
// ICMPClient.h // ICMPClient.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ICMPClient.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/ICMPClient.h#2 $
// //
// Library: Net // Library: Net
// Package: ICMP // Package: ICMP

View File

@ -1,7 +1,7 @@
// //
// ICMPEventArgs.h // ICMPEventArgs.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ICMPEventArgs.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/ICMPEventArgs.h#2 $
// //
// Library: Net // Library: Net
// Package: ICMP // Package: ICMP

View File

@ -1,7 +1,7 @@
// //
// ICMPPacket.h // ICMPPacket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ICMPPacket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/ICMPPacket.h#2 $
// //
// Library: Net // Library: Net
// Package: ICMP // Package: ICMP

View File

@ -1,7 +1,7 @@
// //
// ICMPPacketImpl.h // ICMPPacketImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ICMPPacketImpl.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/ICMPPacketImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: ICMP // Package: ICMP

View File

@ -1,7 +1,7 @@
// //
// ICMPSocket.h // ICMPSocket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ICMPSocket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/ICMPSocket.h#2 $
// //
// Library: Net // Library: Net
// Package: ICMP // Package: ICMP

View File

@ -1,7 +1,7 @@
// //
// ICMPSocketImpl.h // ICMPSocketImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ICMPSocketImpl.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/ICMPSocketImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: ICMP // Package: ICMP

View File

@ -1,7 +1,7 @@
// //
// ICMPv4PacketImpl.h // ICMPv4PacketImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ICMPv4PacketImpl.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/ICMPv4PacketImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: ICMP // Package: ICMP

View File

@ -1,7 +1,7 @@
// //
// IPAddress.h // IPAddress.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/IPAddress.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/IPAddress.h#2 $
// //
// Library: Net // Library: Net
// Package: NetCore // Package: NetCore

View File

@ -1,7 +1,7 @@
// //
// MailMessage.h // MailMessage.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/MailMessage.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/MailMessage.h#3 $
// //
// Library: Net // Library: Net
// Package: Mail // Package: Mail
@ -107,6 +107,10 @@ public:
void setSender(const std::string& sender); void setSender(const std::string& sender);
/// Sets the sender of the message (which /// Sets the sender of the message (which
/// ends up in the From header field). /// ends up in the From header field).
///
/// The sender must either be a valid email
/// address, or a real name followed by
/// an email address enclosed in < and >.
const std::string& getSender() const; const std::string& getSender() const;
/// Returns the sender of the message (taken /// Returns the sender of the message (taken

View File

@ -1,7 +1,7 @@
// //
// MailRecipient.h // MailRecipient.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/MailRecipient.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/MailRecipient.h#2 $
// //
// Library: Net // Library: Net
// Package: Mail // Package: Mail

View File

@ -1,7 +1,7 @@
// //
// MailStream.h // MailStream.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/MailStream.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/MailStream.h#2 $
// //
// Library: Net // Library: Net
// Package: Mail // Package: Mail

View File

@ -1,7 +1,7 @@
// //
// MediaType.h // MediaType.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/MediaType.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/MediaType.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// MessageHeader.h // MessageHeader.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/MessageHeader.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/MessageHeader.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// MulticastSocket.h // MulticastSocket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/MulticastSocket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/MulticastSocket.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// MultipartReader.h // MultipartReader.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/MultipartReader.h#5 $ // $Id: //poco/svn/Net/include/Poco/Net/MultipartReader.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// MultipartWriter.h // MultipartWriter.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/MultipartWriter.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/MultipartWriter.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// NameValueCollection.h // NameValueCollection.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/NameValueCollection.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/NameValueCollection.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// Net.h // Net.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/Net.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/Net.h#2 $
// //
// Library: Net // Library: Net
// Package: NetCore // Package: NetCore

View File

@ -1,7 +1,7 @@
// //
// NetException.h // NetException.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/NetException.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/NetException.h#2 $
// //
// Library: Net // Library: Net
// Package: NetCore // Package: NetCore

View File

@ -1,7 +1,7 @@
// //
// NetworkInterface.h // NetworkInterface.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/NetworkInterface.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/NetworkInterface.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// NullPartHandler.h // NullPartHandler.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/NullPartHandler.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/NullPartHandler.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// POP3ClientSession.h // POP3ClientSession.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/POP3ClientSession.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/POP3ClientSession.h#2 $
// //
// Library: Net // Library: Net
// Package: Mail // Package: Mail

View File

@ -1,7 +1,7 @@
// //
// PartHandler.h // PartHandler.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/PartHandler.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/PartHandler.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// PartSource.h // PartSource.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/PartSource.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/PartSource.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// QuotedPrintableDecoder.h // QuotedPrintableDecoder.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/QuotedPrintableDecoder.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/QuotedPrintableDecoder.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// QuotedPrintableEncoder.h // QuotedPrintableEncoder.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/QuotedPrintableEncoder.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/QuotedPrintableEncoder.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// RawSocket.h // RawSocket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/RawSocket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/RawSocket.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// RawSocketImpl.h // RawSocketImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/RawSocketImpl.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/RawSocketImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// RemoteSyslogChannel.h // RemoteSyslogChannel.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/RemoteSyslogChannel.h#4 $ // $Id: //poco/svn/Net/include/Poco/Net/RemoteSyslogChannel.h#2 $
// //
// Library: Net // Library: Net
// Package: Logging // Package: Logging

View File

@ -1,7 +1,7 @@
// //
// RemoteSyslogListener.h // RemoteSyslogListener.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/RemoteSyslogListener.h#4 $ // $Id: //poco/svn/Net/include/Poco/Net/RemoteSyslogListener.h#2 $
// //
// Library: Net // Library: Net
// Package: Logging // Package: Logging

View File

@ -1,7 +1,7 @@
// //
// SMTPChannel.h // SMTPChannel.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SMTPChannel.h#4 $ // $Id: //poco/svn/Net/include/Poco/Net/SMTPChannel.h#1 $
// //
// Library: Net // Library: Net
// Package: Logging // Package: Logging

View File

@ -1,7 +1,7 @@
// //
// SMTPClientSession.h // SMTPClientSession.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SMTPClientSession.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/SMTPClientSession.h#2 $
// //
// Library: Net // Library: Net
// Package: Mail // Package: Mail

View File

@ -1,7 +1,7 @@
// //
// ServerSocket.h // ServerSocket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ServerSocket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/ServerSocket.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// ServerSocketImpl.h // ServerSocketImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/ServerSocketImpl.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/ServerSocketImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// Socket.h // Socket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/Socket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/Socket.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// SocketAcceptor.h // SocketAcceptor.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketAcceptor.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketAcceptor.h#2 $
// //
// Library: Net // Library: Net
// Package: Reactor // Package: Reactor

View File

@ -1,7 +1,7 @@
// //
// SocketAddress.h // SocketAddress.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketAddress.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketAddress.h#2 $
// //
// Library: Net // Library: Net
// Package: NetCore // Package: NetCore

View File

@ -1,7 +1,7 @@
// //
// SocketConnector.h // SocketConnector.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketConnector.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketConnector.h#2 $
// //
// Library: Net // Library: Net
// Package: Reactor // Package: Reactor

View File

@ -1,7 +1,7 @@
// //
// SocketDefs.h // SocketDefs.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketDefs.h#4 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketDefs.h#2 $
// //
// Library: Net // Library: Net
// Package: NetCore // Package: NetCore

View File

@ -1,7 +1,7 @@
// //
// SocketImpl.h // SocketImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketImpl.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// SocketNotification.h // SocketNotification.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketNotification.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketNotification.h#2 $
// //
// Library: Net // Library: Net
// Package: Reactor // Package: Reactor

View File

@ -1,7 +1,7 @@
// //
// SocketNotifier.h // SocketNotifier.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketNotifier.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketNotifier.h#2 $
// //
// Library: Net // Library: Net
// Package: Reactor // Package: Reactor

View File

@ -1,7 +1,7 @@
// //
// SocketReactor.h // SocketReactor.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketReactor.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketReactor.h#2 $
// //
// Library: Net // Library: Net
// Package: Reactor // Package: Reactor

View File

@ -1,7 +1,7 @@
// //
// SocketStream.h // SocketStream.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/SocketStream.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/SocketStream.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// StreamSocket.h // StreamSocket.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/StreamSocket.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/StreamSocket.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// StreamSocketImpl.h // StreamSocketImpl.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/StreamSocketImpl.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/StreamSocketImpl.h#2 $
// //
// Library: Net // Library: Net
// Package: Sockets // Package: Sockets

View File

@ -1,7 +1,7 @@
// //
// StringPartSource.h // StringPartSource.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/StringPartSource.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/StringPartSource.h#2 $
// //
// Library: Net // Library: Net
// Package: Messages // Package: Messages

View File

@ -1,7 +1,7 @@
// //
// TCPServer.h // TCPServer.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/TCPServer.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/TCPServer.h#2 $
// //
// Library: Net // Library: Net
// Package: TCPServer // Package: TCPServer

View File

@ -1,7 +1,7 @@
// //
// TCPServerConnection.h // TCPServerConnection.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/TCPServerConnection.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/TCPServerConnection.h#2 $
// //
// Library: Net // Library: Net
// Package: TCPServer // Package: TCPServer

View File

@ -1,7 +1,7 @@
// //
// TCPServerConnectionFactory.h // TCPServerConnectionFactory.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/TCPServerConnectionFactory.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/TCPServerConnectionFactory.h#2 $
// //
// Library: Net // Library: Net
// Package: TCPServer // Package: TCPServer

View File

@ -1,7 +1,7 @@
// //
// TCPServerDispatcher.h // TCPServerDispatcher.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/TCPServerDispatcher.h#2 $ // $Id: //poco/svn/Net/include/Poco/Net/TCPServerDispatcher.h#2 $
// //
// Library: Net // Library: Net
// Package: TCPServer // Package: TCPServer

View File

@ -1,7 +1,7 @@
// //
// TCPServerParams.h // TCPServerParams.h
// //
// $Id: //poco/Main/Net/include/Poco/Net/TCPServerParams.h#3 $ // $Id: //poco/svn/Net/include/Poco/Net/TCPServerParams.h#2 $
// //
// Library: Net // Library: Net
// Package: TCPServer // Package: TCPServer

View File

@ -1,7 +1,7 @@
# #
# sample.vmsbuild # sample.vmsbuild
# #
# $Id: //poco/Main/Net/samples/EchoServer/EchoServer.vmsbuild#1 $ # $Id: //poco/svn/Net/samples/EchoServer/EchoServer.vmsbuild#1 $
# #
EXE=EchoServer EXE=EchoServer
EchoServer EchoServer

View File

@ -1,7 +1,7 @@
# #
# Makefile # Makefile
# #
# $Id: //poco/Main/Net/samples/EchoServer/Makefile#2 $ # $Id: //poco/svn/Net/samples/EchoServer/Makefile#1 $
# #
# Makefile for Poco EchoServer # Makefile for Poco EchoServer
# #

View File

@ -1,7 +1,7 @@
// //
// EchoServer.cpp // EchoServer.cpp
// //
// $Id: //poco/Main/Net/samples/EchoServer/src/EchoServer.cpp#7 $ // $Id: //poco/svn/Net/samples/EchoServer/src/EchoServer.cpp#1 $
// //
// This sample demonstrates the SocketReactor and SocketAcceptor classes. // This sample demonstrates the SocketReactor and SocketAcceptor classes.
// //

View File

@ -1,7 +1,7 @@
# #
# sample.vmsbuild # sample.vmsbuild
# #
# $Id: //poco/Main/Net/samples/HTTPFormServer/HTTPFormServer.vmsbuild#1 $ # $Id: //poco/svn/Net/samples/HTTPFormServer/HTTPFormServer.vmsbuild#1 $
# #
EXE=HTTPFormServer EXE=HTTPFormServer
HTTPFormServer HTTPFormServer

View File

@ -1,7 +1,7 @@
# #
# Makefile # Makefile
# #
# $Id: //poco/Main/Net/samples/HTTPFormServer/Makefile#1 $ # $Id: //poco/svn/Net/samples/HTTPFormServer/Makefile#1 $
# #
# Makefile for Poco HTTPFormServer # Makefile for Poco HTTPFormServer
# #

View File

@ -1,7 +1,7 @@
# #
# HTTPLoadTest.vmsbuild # HTTPLoadTest.vmsbuild
# #
# $Id: //poco/Main/Net/samples/HTTPLoadTest/HTTPLoadTest.vmsbuild#1 $ # $Id: //poco/svn/Net/samples/HTTPLoadTest/HTTPLoadTest.vmsbuild#1 $
# #
EXE=HTTPLoadTest EXE=HTTPLoadTest
HTTPLoadTest HTTPLoadTest

View File

@ -1,7 +1,7 @@
# #
# Makefile # Makefile
# #
# $Id: //poco/Main/Net/samples/HTTPLoadTest/Makefile#1 $ # $Id: //poco/svn/Net/samples/HTTPLoadTest/Makefile#1 $
# #
# Makefile for Poco HTTPLoadTest # Makefile for Poco HTTPLoadTest
# #

View File

@ -1,7 +1,7 @@
// //
// HTTPLoadTest.cpp // HTTPLoadTest.cpp
// //
// $Id: //poco/Main/Net/samples/HTTPLoadTest/src/HTTPLoadTest.cpp#5 $ // $Id: //poco/svn/Net/samples/HTTPLoadTest/src/HTTPLoadTest.cpp#3 $
// //
// This sample demonstrates the HTTPClientSession class. // This sample demonstrates the HTTPClientSession class.
// //
@ -45,6 +45,8 @@
#include "Poco/Runnable.h" #include "Poco/Runnable.h"
#include "Poco/Stopwatch.h" #include "Poco/Stopwatch.h"
#include "Poco/NumberParser.h" #include "Poco/NumberParser.h"
#include "Poco/StreamCopier.h"
#include "Poco/NullStream.h"
#include "Poco/Exception.h" #include "Poco/Exception.h"
#include "Poco/Util/Application.h" #include "Poco/Util/Application.h"
#include "Poco/Util/Option.h" #include "Poco/Util/Option.h"
@ -74,14 +76,17 @@ using Poco::NumberParser;
using Poco::Path; using Poco::Path;
using Poco::URI; using Poco::URI;
using Poco::Exception; using Poco::Exception;
using Poco::StreamCopier;
using Poco::NullOutputStream;
class HTTPClient : public Runnable class HTTPClient : public Runnable
{ {
public: public:
HTTPClient(const URI& uri, int repetitions, bool cookies=false, bool verbose=false): HTTPClient(const URI& uri, int repetitions, bool cookies=false, bool verbose=false):
_uri(uri), _uri(uri),
_cookies(cookies),
_verbose(verbose), _verbose(verbose),
_cookies(cookies),
_repetitions(repetitions), _repetitions(repetitions),
_usec(0), _usec(0),
_success(0) _success(0)
@ -123,6 +128,8 @@ public:
sw.restart(); sw.restart();
session.sendRequest(req); session.sendRequest(req);
std::istream& rs = session.receiveResponse(res); std::istream& rs = session.receiveResponse(res);
NullOutputStream nos;
StreamCopier::copyStream(rs, nos);
sw.stop(); sw.stop();
_success += HTTPResponse::HTTP_OK == res.getStatus() ? 1 : 0; _success += HTTPResponse::HTTP_OK == res.getStatus() ? 1 : 0;
if (_cookies) res.getCookies(cookies); if (_cookies) res.getCookies(cookies);
@ -218,10 +225,10 @@ class HTTPLoadTest: public Application
public: public:
HTTPLoadTest(): HTTPLoadTest():
_helpRequested(false), _helpRequested(false),
_repetitions(1),
_threads(1),
_verbose(false), _verbose(false),
_cookies(false) _cookies(false),
_repetitions(1),
_threads(1)
{ {
} }

View File

@ -1,7 +1,7 @@
# #
# sample.vmsbuild # sample.vmsbuild
# #
# $Id: //poco/Main/Net/samples/HTTPTimeServer/HTTPTimeServer.vmsbuild#1 $ # $Id: //poco/svn/Net/samples/HTTPTimeServer/HTTPTimeServer.vmsbuild#1 $
# #
EXE=HTTPTimeServer EXE=HTTPTimeServer
HTTPTimeServer HTTPTimeServer

View File

@ -1,7 +1,7 @@
# #
# Makefile # Makefile
# #
# $Id: //poco/Main/Net/samples/HTTPTimeServer/Makefile#2 $ # $Id: //poco/svn/Net/samples/HTTPTimeServer/Makefile#1 $
# #
# Makefile for Poco HTTPTimeServer # Makefile for Poco HTTPTimeServer
# #

Some files were not shown because too many files have changed in this diff Show More