aboutsummaryrefslogtreecommitdiffstats
path: root/src/url.c
Commit message (Expand)AuthorAgeFilesLines
* - Pull in poll(2) stuff before any other ircd include files. (#4155)••• This allows us to successfully build on systems where pulling in poll.h pollutes the code with a broken form of ctypes.h due to a few reasons, not limited to, but including, usage of non-namespaced macros which clash with our own. Gravatar William Pitcock2013-01-141-9/+12
* - Use poll() in the remote includes functions when USE_POLL is••• defined (#4091). Gravatar Bram Matthys2012-10-141-4/+282
* Major win32 build system cleanup:•••- Win32: Attempt to move to 100% winsock2 (the include, to be precise), this means includes have to be in a very particular order (!) - Win32: #define _WIN32_WINNT 0x0501 and force our own inet_ntop/pton, otherwise you get an ntop runtime error on XP and earlier. - Win32: Get rid of c-ares includes and library in our tree, and use the DLL instead of static LIB, just like we do for ssl and zlib. - Win32: Get rid of TRE lib and includes - Win32: reorder includes to fix winsock errors with curl Gravatar Bram Matthys2010-12-121-1/+1
* - Added error message for unknown directives in the "files" block•••- Remote MOTD support. Not adequately tested. Required restructuring of the asynchronous download callback and handler. - Added some consts throughout url.c, etc. - Fix segfault where the an include directive specifies a URL and cURL follows redirects, resulting in a different resultant URL. The remote includes code would look for the an include block using the resultant URL and assume that it would be found. The new code searches differently, has new checks, and ignores the resultant URL. - Removed duplicated m_motd() and friends that were both in modules and s_serv.c. The copies in s_serv.c (core) were overriding the in-module functions. Gravatar binki2010-06-161-18/+30
* Applied 2999Gravatar stskeeps2007-07-101-1/+1
* - #0003363 patched by adrianp, changing IRC_UID and IRC_GID into••• defines IRC_USER, IRC_GROUP which is a string specifiying what user name/ group name that should be changed into, instead of a hardcoded gid/uid. This should make it easier for packaged binary releases to work (even though this probably means Debian will take us in, ick .. Can't we pull a new fight with debian-legal again?) - #0003363 patched by adrianp, changing IRC_UID and IRC_GID into defines IRC_USER, IRC_GROUP which is a string specifiying what user name/ group name that should be changed into, instead of a hardcoded gid/uid. This should make it easier for packaged binary releases to work (even though this probably means Debian will take us in, ick .. Can't we pull a new fight with debian-legal again?) Gravatar stskeeps2007-06-171-4/+9
* - c-ares (currently, a forked off version) enhancements:••• - '/quote dns i' now shows the nameserver settings (which is taken from /etc/resolv.conf on *NIX, and from the registry on Windows) - We no longer depend on a C++ compiler (was useless c-ares dependency caused by libtool) - '/REHASH -dns' now rereads the resolver data from resolv.conf/registry, no IRCd restart needed anymore. It's currently kinda experimental however, but I *think* it will work ok. Unfortunately the above features required some ugly hacks if curl was enabled, so if you use curl (Remote includes), feel free to test on your OS (Linux, but especially FreeBSD and the other *NIXes) to see if things still compile (make clean; ./Config && make). Gravatar Bram Matthys2006-04-111-0/+9
* - Curl users using https/ftps/etc: UnrealIRCd now ships with a 'curl-ca-bundl...••• contains the (root) certificates of most major Certificate Authorities. It is basically the default curl ca-bundle.crt plus cacert's certificates. The 'curl-ca-bundle.crt' will be copied to the installation dir if needed. It will from now on be used by Unreal for all remote includes (curl) related certificates. If you want to use https but don't want to buy a certificate, we suggest you to apply for a free certificate at CACert (www.CACert.org). Or, alternatively, add your own certificate (PEM encoded) to curl-ca-bundle.crt, see 'SSLCERTS' in the curl package for more info. Gravatar Bram Matthys2006-01-251-10/+1
* curl-ca-bundle.crt stuffGravatar Bram Matthys2006-01-251-1/+9
* Made the win32 version use a dynamically linked libcGravatar codemastr2004-05-301-1/+1
* - Added temporary fix for include "http://www.blah.com/"; crashbug...although...••• many people would use it. Reported by Angrywolf (#0001757). Gravatar Bram Matthys2004-04-241-4/+4
* - Fixed some remote includes issues and added a connect/transfer timeout, ser...••• now no longer be frozen if the site is unreachable. Reported by Ron2K (#0001751). Gravatar Bram Matthys2004-04-231-0/+8
* - Fixed yet another fun remote includes memory corruption crash bug due••• to curl strangeness (took me 2 hours to trace down, great!). Gravatar Bram Matthys2004-03-041-6/+11
* Fixed another remote include bugGravatar codemastr2004-02-261-1/+2
* - Fixed a zero-terminate bug in remote includes: urls with '?' in it could••• cause a crash, reported by Joolz (#0001587). Gravatar Bram Matthys2004-02-251-1/+1
* Remote include fixes for WindowsGravatar codemastr2004-02-211-5/+19
* Remote include fix to deal with memory corruption bugGravatar codemastr2004-02-201-2/+1
* Made PATH_MAX get found under SolarisGravatar codemastr2004-02-191-0/+2
* - Fixed minor compile warning.Gravatar Bram Matthys2004-02-071-22/+30
* - Modified 404 numeric a bit (#0001515).•••- Fixed 'no server notice on /restart or /die', reported by Lx (#0001062). This was caused by a bug in flush_connections(&me), hopefully there won't be any side effects. - Fixed file owner problems when IRC_UID/IRC_GID is used (eg: when running chrooted). - Fixed crashbug if we were unable to write a remote include file to disk. Gravatar Bram Matthys2004-02-041-2/+28
* Fixed a remote include cached file bugGravatar codemastr2004-02-041-1/+6
* More remote include fixesGravatar codemastr2003-12-311-2/+2
* Made remote includes work with SSL protocolsGravatar codemastr2003-12-261-0/+30
* added configure checks for libcurl and other various changesGravatar codemastr2003-12-261-1/+1
* Made it possible to use remote includes in win32Gravatar codemastr2003-12-231-2/+2
* Various fixes and changesGravatar codemastr2003-12-161-11/+36
* Started some work on the remote include systemGravatar codemastr2003-12-141-0/+246