gopherproxy-c-sdk, branch HEAD gopherproxy-c customized 500ede628d2557b8b68257484597f67f03f87e94 2019-04-22T11:25:52Z 2019-04-22T11:25:52Z rewrite support (lazy version) Stefan Hagen sh+git@codevoid.de commit 500ede628d2557b8b68257484597f67f03f87e94 parent 737985333a6beea0e609b139b080228b117ef9c3 Author: Stefan Hagen <sh+git@codevoid.de> Date: Mon, 22 Apr 2019 13:25:52 +0200 rewrite support (lazy version) 737985333a6beea0e609b139b080228b117ef9c3 2018-10-30T14:09:36Z 2018-10-30T14:09:36Z sdk customizations Stefan Hagen sh+git@codevoid.de commit 737985333a6beea0e609b139b080228b117ef9c3 parent 861e6fd9d5d8c09ca68e120db43279d3e5d5a938 Author: Stefan Hagen <sh+git@codevoid.de> Date: Tue, 30 Oct 2018 15:09:36 +0100 sdk customizations 861e6fd9d5d8c09ca68e120db43279d3e5d5a938 2018-08-29T22:06:12Z 2018-08-31T10:39:31Z sdk's customizations Stefan Hagen sh+git@codevoid.de commit 861e6fd9d5d8c09ca68e120db43279d3e5d5a938 parent 31bf0e0fa53e34bf32a57257f6e306a67ea813a6 Author: Stefan Hagen <sh+git@codevoid.de> Date: Thu, 30 Aug 2018 00:06:12 +0200 sdk's customizations 31bf0e0fa53e34bf32a57257f6e306a67ea813a6 2018-08-21T15:43:52Z 2018-08-21T15:43:52Z improve uri parsing according to the RFC spec Hiltjo Posthuma hiltjo@codemadness.org commit 31bf0e0fa53e34bf32a57257f6e306a67ea813a6 parent ab450f6020e7a69eaba6446167ba25b9d296a5d9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 21 Aug 2018 17:43:52 +0200 improve uri parsing according to the RFC spec the path doesn't have to start with / ab450f6020e7a69eaba6446167ba25b9d296a5d9 2018-08-19T19:01:21Z 2018-08-19T19:07:40Z README: add instructions for tor proxying trqx@goat.si trqx@goat.si commit ab450f6020e7a69eaba6446167ba25b9d296a5d9 parent 01c9ba076423824ce71944c7af6e0c3f24960ec8 Author: trqx@goat.si <trqx@goat.si> Date: Sun, 19 Aug 2018 21:01:21 +0200 README: add instructions for tor proxying 01c9ba076423824ce71944c7af6e0c3f24960ec8 2018-08-19T17:00:20Z 2018-08-19T18:45:03Z README: add caddy configuration trqx@goat.si trqx@goat.si commit 01c9ba076423824ce71944c7af6e0c3f24960ec8 parent f7929385112388c25324b99525a88df3daba908c Author: trqx@goat.si <trqx@goat.si> Date: Sun, 19 Aug 2018 19:00:20 +0200 README: add caddy configuration f7929385112388c25324b99525a88df3daba908c 2018-08-19T16:55:25Z 2018-08-19T18:43:43Z README: fix typo trqx@goat.si trqx@goat.si commit f7929385112388c25324b99525a88df3daba908c parent 9513ef706fdb1d0fe7ec1c8f6da1fb78ed573f2d Author: trqx@goat.si <trqx@goat.si> Date: Sun, 19 Aug 2018 18:55:25 +0200 README: fix typo 9513ef706fdb1d0fe7ec1c8f6da1fb78ed573f2d 2018-08-17T16:50:11Z 2018-08-17T16:50:11Z README: add CGI configuration examples Hiltjo Posthuma hiltjo@codemadness.org commit 9513ef706fdb1d0fe7ec1c8f6da1fb78ed573f2d parent e21c517078a89ad1023d7ac0c5db8aa5eecab7a9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 18:50:11 +0200 README: add CGI configuration examples e21c517078a89ad1023d7ac0c5db8aa5eecab7a9 2018-08-17T16:37:32Z 2018-08-17T16:37:32Z minor code-style Hiltjo Posthuma hiltjo@codemadness.org commit e21c517078a89ad1023d7ac0c5db8aa5eecab7a9 parent 9612b7ed97d46f386db7334b7ef880038a92df8c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 18:37:32 +0200 minor code-style 9612b7ed97d46f386db7334b7ef880038a92df8c 2018-08-17T16:37:09Z 2018-08-17T16:37:09Z parseuri: support IPv6 address for host Hiltjo Posthuma hiltjo@codemadness.org commit 9612b7ed97d46f386db7334b7ef880038a92df8c parent d0cd571a262cbbca3c7d12f08799e6835552bf13 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 18:37:09 +0200 parseuri: support IPv6 address for host d0cd571a262cbbca3c7d12f08799e6835552bf13 2018-08-17T16:36:45Z 2018-08-17T16:36:45Z blacklist path not starting with / and ports other than 70 or 7070 Hiltjo Posthuma hiltjo@codemadness.org commit d0cd571a262cbbca3c7d12f08799e6835552bf13 parent 0c008b2c7e67000e28de30bb3fc85b956a7645e0 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 18:36:45 +0200 blacklist path not starting with / and ports other than 70 or 7070 0c008b2c7e67000e28de30bb3fc85b956a7645e0 2018-08-17T14:08:59Z 2018-08-17T14:08:59Z telnet/tn3270: don't use @ if username is empty Hiltjo Posthuma hiltjo@codemadness.org commit 0c008b2c7e67000e28de30bb3fc85b956a7645e0 parent 9890cde16cba2a03048800bfd81919b0bf9f0e5c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 16:08:59 +0200 telnet/tn3270: don't use @ if username is empty 9890cde16cba2a03048800bfd81919b0bf9f0e5c 2018-08-17T14:08:52Z 2018-08-17T14:08:52Z README: Gopher+ is not supported Hiltjo Posthuma hiltjo@codemadness.org commit 9890cde16cba2a03048800bfd81919b0bf9f0e5c parent 328eee3a3a6814914911e25e3447adb9cc09f4ba Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 16:08:52 +0200 README: Gopher+ is not supported 328eee3a3a6814914911e25e3447adb9cc09f4ba 2018-08-17T14:01:10Z 2018-08-17T14:01:10Z for the gif type set Content-Type explicitly, try image detection by extension Hiltjo Posthuma hiltjo@codemadness.org commit 328eee3a3a6814914911e25e3447adb9cc09f4ba parent 2188db7bb8e13eb43c8e61376baf0381be3af513 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 16:01:10 +0200 for the gif type set Content-Type explicitly, try image detection by extension 2188db7bb8e13eb43c8e61376baf0381be3af513 2018-08-17T14:00:45Z 2018-08-17T14:00:45Z handle telnet and tn3270 types Hiltjo Posthuma hiltjo@codemadness.org commit 2188db7bb8e13eb43c8e61376baf0381be3af513 parent ba4a6bfff30969bbea9529f7852cd4b929421fbe Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 16:00:45 +0200 handle telnet and tn3270 types ba4a6bfff30969bbea9529f7852cd4b929421fbe 2018-08-17T14:00:07Z 2018-08-17T14:00:07Z display more types as documented in the RFC, distinguish reserved types Hiltjo Posthuma hiltjo@codemadness.org commit ba4a6bfff30969bbea9529f7852cd4b929421fbe parent b8a14c3c0df0a4d9ad6eca8bc772ca0140a0e897 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 16:00:07 +0200 display more types as documented in the RFC, distinguish reserved types b8a14c3c0df0a4d9ad6eca8bc772ca0140a0e897 2018-08-17T13:59:38Z 2018-08-17T13:59:38Z Makefile: when changing Makefile: rebuild Hiltjo Posthuma hiltjo@codemadness.org commit b8a14c3c0df0a4d9ad6eca8bc772ca0140a0e897 parent 1a3a39b35b6a350bec8b37e833639a671717c59e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 15:59:38 +0200 Makefile: when changing Makefile: rebuild 1a3a39b35b6a350bec8b37e833639a671717c59e 2018-08-17T13:59:20Z 2018-08-17T13:59:20Z Makefile: build static by default Hiltjo Posthuma hiltjo@codemadness.org commit 1a3a39b35b6a350bec8b37e833639a671717c59e parent 63d1799106c7f186d008b3085f1d6059c99b2681 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 15:59:20 +0200 Makefile: build static by default 63d1799106c7f186d008b3085f1d6059c99b2681 2018-08-17T13:58:26Z 2018-08-17T13:58:26Z README: update and document workaround for a bug with nginx 1.12 Hiltjo Posthuma hiltjo@codemadness.org commit 63d1799106c7f186d008b3085f1d6059c99b2681 parent 2922b5f38556aacf5dd1c6928b34be60a07cec7b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 15:58:26 +0200 README: update and document workaround for a bug with nginx 1.12 2922b5f38556aacf5dd1c6928b34be60a07cec7b 2018-08-17T10:50:40Z 2018-08-17T10:50:40Z fix: initialize uri also when query is empty Hiltjo Posthuma hiltjo@codemadness.org commit 2922b5f38556aacf5dd1c6928b34be60a07cec7b parent 37d95c874eab8ad35bd95ad3381405310934cd08 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Aug 2018 12:50:40 +0200 fix: initialize uri also when query is empty + minor code-style. 37d95c874eab8ad35bd95ad3381405310934cd08 2018-08-14T12:23:31Z 2018-08-14T12:23:31Z dial error: add newline Hiltjo Posthuma hiltjo@codemadness.org commit 37d95c874eab8ad35bd95ad3381405310934cd08 parent dbe80c7d9f93688585348abacbde2cd22c5373a9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 14 Aug 2018 14:23:31 +0200 dial error: add newline dbe80c7d9f93688585348abacbde2cd22c5373a9 2018-08-13T10:42:29Z 2018-08-13T10:45:51Z Add Linux compile support. Christoph Lohmann 20h@r-36.net commit dbe80c7d9f93688585348abacbde2cd22c5373a9 parent c203aa551a7deb54746100ba0532d5e6d234ad85 Author: Christoph Lohmann <20h@r-36.net> Date: Mon, 13 Aug 2018 12:42:29 +0200 Add Linux compile support. c203aa551a7deb54746100ba0532d5e6d234ad85 2018-08-12T17:28:28Z 2018-08-12T17:28:28Z for uri use a simple pointer: no copy is needed Hiltjo Posthuma hiltjo@codemadness.org commit c203aa551a7deb54746100ba0532d5e6d234ad85 parent 68d669677f9f159d33c5b8f369f716edd2dd91e0 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 12 Aug 2018 19:28:28 +0200 for uri use a simple pointer: no copy is needed 68d669677f9f159d33c5b8f369f716edd2dd91e0 2018-08-12T17:28:09Z 2018-08-12T17:28:09Z fix fallthrough, search items were displayed incorrectly Hiltjo Posthuma hiltjo@codemadness.org commit 68d669677f9f159d33c5b8f369f716edd2dd91e0 parent a3dbec3aff240cf18792ac54e40d7ea04dae4d07 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 12 Aug 2018 19:28:09 +0200 fix fallthrough, search items were displayed incorrectly a3dbec3aff240cf18792ac54e40d7ea04dae4d07 2018-08-12T17:27:16Z 2018-08-12T17:27:16Z use dprintf and reorder so a fflush is not needed, saves some lines Hiltjo Posthuma hiltjo@codemadness.org commit a3dbec3aff240cf18792ac54e40d7ea04dae4d07 parent 09feebbc6b6947493acdadf0afca1a61da517c40 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 12 Aug 2018 19:27:16 +0200 use dprintf and reorder so a fflush is not needed, saves some lines + minor cleanup 09feebbc6b6947493acdadf0afca1a61da517c40 2018-08-12T17:26:29Z 2018-08-12T17:26:29Z for normal info text prefix with type (spaces) so it aligns properly Hiltjo Posthuma hiltjo@codemadness.org commit 09feebbc6b6947493acdadf0afca1a61da517c40 parent f3ee251cc87fed2ff5ef4f8b9679c03cad71a5f6 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 12 Aug 2018 19:26:29 +0200 for normal info text prefix with type (spaces) so it aligns properly f3ee251cc87fed2ff5ef4f8b9679c03cad71a5f6 2018-08-12T17:10:23Z 2018-08-12T17:10:23Z simplify item type handling, make shorter uris Hiltjo Posthuma hiltjo@codemadness.org commit f3ee251cc87fed2ff5ef4f8b9679c03cad71a5f6 parent 536c656498826de19a9aa266f59831df7ef74b5f Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 12 Aug 2018 19:10:23 +0200 simplify item type handling, make shorter uris make shorter uri by removing gopher:// and the port if it is "70". 536c656498826de19a9aa266f59831df7ef74b5f 2018-08-12T16:30:20Z 2018-08-12T16:41:41Z fix include for time Josuah Demangeon mail@josuah.net commit 536c656498826de19a9aa266f59831df7ef74b5f parent 40a6ccd6cfb99c2849dff4501a54bc7752b63620 Author: Josuah Demangeon <mail@josuah.net> Date: Sun, 12 Aug 2018 18:30:20 +0200 fix include for time musl-libc seems to use <sys/time.h> instead of <time.h> $ find /usr/include -name '*.ch' -exec grep '^struct timeval' {} + ... /usr/include/sys/time.h: struct timeval it_interval; /usr/include/sys/time.h: struct timeval it_value; ... OpenBSD has this in <sys/time.h>: #ifndef _TIMEVAL_DECLARED #define _TIMEVAL_DECLARED /* * Structure returned by gettimeofday(2) system call, * and used in other calls. */ struct timeval { time_t tv_sec; /* seconds */ suseconds_t tv_usec; /* and microseconds */ }; #endif 40a6ccd6cfb99c2849dff4501a54bc7752b63620 2018-08-12T16:14:09Z 2018-08-12T16:14:09Z initial repo Hiltjo Posthuma hiltjo@codemadness.org commit 40a6ccd6cfb99c2849dff4501a54bc7752b63620 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 12 Aug 2018 18:14:09 +0200 initial repo