fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / kio / kio / ioslave_defaults.h
blobddf5b6af55fe4a138a092e0ee2a1aa952bb05cd2
1 /* This file is part of the KDE libraries
2 Copyright (C) 2001 Waldo Bastian <bastian@kde.org>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
19 #ifndef _KIO_IOSLAVE_DEFAULTS_H
20 #define _KIO_IOSLAVE_DEFAULTS_H
22 // TIMEOUT VALUES
23 #define DEFAULT_RESPONSE_TIMEOUT 600 // 10 min.
24 #define DEFAULT_CONNECT_TIMEOUT 20 // 20 secs.
25 #define DEFAULT_READ_TIMEOUT 15 // 15 secs.
26 #define DEFAULT_PROXY_CONNECT_TIMEOUT 10 // 10 secs.
27 #define MIN_TIMEOUT_VALUE 2 // 2 secs.
29 // MINMUM SIZE FOR ABORTED DOWNLOAD TO BE KEPT
30 #define DEFAULT_MINIMUM_KEEP_SIZE 5120 // 5 Kbs
32 // NORMAL PORT DEFAULTS
33 #define DEFAULT_FTP_PORT 21
34 #define DEFAULT_SMTP_PORT 25
35 #define DEFAULT_HTTP_PORT 80
36 #define DEFAULT_POP3_PORT 110
37 #define DEFAULT_NNTP_PORT 119
38 #define DEFAULT_IMAP_PORT 143
39 #define DEFAULT_IMAP3_PORT 220
40 #define DEFAULT_LDAP_PORT 389
42 // SECURE PORT DEFAULTS
43 #define DEFAULT_HTTPS_PORT 443
44 #define DEFAULT_NNTPS_PORT 563
45 #define DEFAULT_LDAPS_PORT 389
46 #define DEFAULT_IMAPS_PORT 993
47 #define DEFAULT_POP3S_PORT 995
49 // OTHER GENERIC PORT DEFAULTS
50 #define DEFAULT_PROXY_PORT 8080
51 #define MAX_PORT_VALUE 65535
53 #endif