Daniel Stenberg
d363db6ee8
fread_func: move callback pointer from set to state struct
...
... and assign it from the set.fread_func_set pointer in the
Curl_init_CONNECT function. This A) avoids that we have code that
assigns fields in the 'set' struct (which we always knew was bad) and
more importantly B) it makes it impossibly to accidentally leave the
wrong value for when the handle is re-used etc.
Introducing a state-init functionality in multi.c, so that we can set a
specific function to get called when we enter a state. The
Curl_init_CONNECT is thus called when switching to the CONNECT state.
Bug: https://github.com/bagder/curl/issues/346
2015-10-15 23:22:21 +02:00
..
2015-10-11 23:14:04 +02:00
2015-09-03 23:35:41 +02:00
2015-03-17 13:57:37 +01:00
2013-01-09 00:49:50 +01:00
2013-01-06 18:20:27 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2013-01-09 00:49:50 +01:00
2015-03-24 23:47:01 +01:00
2015-06-02 08:28:10 +02:00
2015-06-02 08:28:10 +02:00
2015-02-20 14:17:32 +01:00
2015-03-05 10:57:52 +01:00
2015-03-05 10:57:52 +01:00
2015-03-05 10:57:52 +01:00
2014-12-05 18:42:39 +01:00
2013-02-14 10:41:45 +01:00
2015-03-05 10:57:52 +01:00
2015-03-05 10:57:52 +01:00
2015-03-05 10:57:52 +01:00
2015-09-30 00:03:35 +02:00
2015-03-30 22:39:13 +02:00
2015-05-24 11:19:07 +02:00
2015-05-18 09:33:36 +02:00
2015-09-27 23:23:58 +02:00
2015-09-27 23:23:58 +02:00
2013-01-09 00:49:50 +01:00
2013-01-09 00:49:50 +01:00
2015-06-18 19:37:20 -04:00
2013-06-12 11:19:56 +02:00
2015-03-16 12:13:56 +01:00
2014-12-04 02:52:19 +01:00
2014-07-25 08:24:03 +02:00
2015-08-25 22:42:28 +02:00
2015-08-30 21:45:30 +01:00
2015-10-08 02:07:12 -04:00
2015-01-16 23:01:27 +00:00
2015-01-01 20:45:29 +00:00
2015-03-03 12:36:18 +01:00
2013-01-09 00:49:50 +01:00
2011-09-25 23:58:47 +02:00
2015-08-02 00:24:38 +02:00
2015-01-09 20:37:47 +00:00
2012-12-28 18:21:40 +01:00
2014-12-06 19:36:27 +00:00
2012-05-22 16:40:09 +02:00
2015-03-24 23:47:01 +01:00
2015-03-03 12:36:18 +01:00
2013-01-09 00:49:50 +01:00
2015-03-16 15:01:15 +01:00
2015-01-18 20:52:43 +00:00
2015-10-09 23:51:54 +02:00
2015-03-05 10:57:52 +01:00
2015-03-25 08:32:12 +01:00
2014-11-23 16:45:30 +00:00
2015-07-16 14:22:45 -04:00
2014-11-09 12:54:34 +00:00
2015-08-24 11:29:22 +02:00
2014-11-09 12:54:34 +00:00
2015-03-03 23:17:43 +01:00
2015-03-17 13:57:37 +01:00
2015-08-31 12:43:58 +01:00
2015-08-31 12:43:58 +01:00
2015-08-31 12:43:58 +01:00
2015-08-31 12:44:01 +01:00
2014-10-08 12:25:07 +02:00
2013-10-09 14:45:42 +02:00
2015-09-10 02:17:33 -04:00
2015-08-01 23:09:03 +01:00
2015-09-10 02:17:33 -04:00
2015-03-16 15:01:15 +01:00
2014-11-16 17:30:17 +00:00
2015-03-03 23:17:43 +01:00
2015-03-23 10:16:10 +01:00
2013-01-06 18:20:27 +01:00
2014-04-28 23:20:52 +01:00
2014-04-28 23:20:52 +01:00
2015-10-09 16:13:54 +02:00
2013-08-21 22:19:52 +02:00
2015-03-24 23:47:01 +01:00
2013-01-06 18:20:27 +01:00
2015-05-20 23:06:45 +02:00
2013-01-06 18:20:27 +01:00
2015-03-03 12:36:18 +01:00
2013-01-06 18:20:27 +01:00
2015-04-13 15:31:26 +02:00
2015-09-26 23:10:20 +02:00
2013-01-06 18:20:27 +01:00
2015-10-15 23:22:21 +02:00
2015-01-08 22:32:37 +01:00
2015-03-16 12:13:56 +01:00
2013-01-09 00:49:50 +01:00
2013-02-05 23:08:57 +01:00
2015-10-04 17:29:43 -04:00
2013-01-06 18:20:27 +01:00
2015-10-01 18:15:11 +02:00
2013-01-06 18:20:27 +01:00
2015-05-18 11:15:43 +02:00
2015-05-18 11:15:43 +02:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-05 10:57:52 +01:00
2013-01-06 18:20:27 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-05-18 11:15:43 +02:00
2015-05-12 09:46:53 +02:00
2015-03-03 12:36:18 +01:00
2015-10-09 00:29:25 -04:00
2015-06-24 23:44:42 +02:00
2015-07-25 00:46:01 +02:00
2014-03-14 15:44:18 +01:00
2015-03-24 23:47:01 +01:00
2014-11-05 13:40:08 +00:00
2015-04-30 12:13:49 +02:00
2015-04-28 08:29:56 +02:00
2015-01-17 14:57:17 +00:00
2015-06-17 14:00:12 +02:00
2015-06-18 23:20:10 +02:00
2015-10-15 23:22:21 +02:00
2015-08-11 08:16:33 +02:00
2014-12-14 22:39:27 +00:00
2015-09-26 23:10:20 +02:00
2014-12-16 13:52:06 +01:00
2015-03-16 15:01:15 +01:00
2015-01-20 17:33:05 +01:00
2015-03-03 12:36:18 +01:00
2015-03-17 13:57:37 +01:00
2015-09-03 11:37:50 +02:00
2013-01-09 00:49:50 +01:00
2015-03-24 23:47:01 +01:00
2015-03-24 23:47:01 +01:00
2013-02-17 14:30:38 -07:00
2013-03-08 13:27:45 +01:00
2013-01-09 00:49:50 +01:00
2013-01-09 00:49:50 +01:00
2015-07-21 14:01:19 +02:00
2012-04-07 00:31:24 +02:00
2015-08-30 14:51:13 +01:00
2015-08-30 14:51:13 +01:00
2015-05-12 23:21:33 +02:00
2015-08-30 14:51:13 +01:00
2015-08-30 14:51:13 +01:00
2015-05-14 14:55:48 +02:00
2014-12-05 14:54:25 +01:00
2015-08-30 14:51:13 +01:00
2015-02-06 14:26:32 +01:00
2015-03-24 23:47:01 +01:00
2015-06-01 03:21:23 -04:00
2015-03-17 13:57:37 +01:00
2015-03-11 14:47:41 +01:00
2014-11-18 13:47:13 +01:00
2014-05-04 23:39:52 +02:00
2015-10-15 23:22:21 +02:00
2015-06-24 23:44:42 +02:00
2015-06-24 23:44:42 +02:00
2015-06-01 03:21:23 -04:00
2013-08-20 11:16:38 +02:00
2014-12-20 14:43:02 +00:00
2013-01-09 00:49:50 +01:00
2013-01-09 00:49:50 +01:00
2013-01-06 18:20:27 +01:00
2015-03-16 12:13:56 +01:00
2013-01-09 00:49:50 +01:00
2013-01-03 19:24:00 +01:00
2013-01-03 19:24:00 +01:00
2013-01-03 19:24:00 +01:00
2015-09-19 23:06:03 +02:00
2014-12-10 11:38:38 +00:00
2013-01-06 18:20:27 +01:00
2015-03-16 12:13:56 +01:00
2013-02-23 17:09:24 +00:00
2015-05-18 09:33:47 +02:00
2015-05-18 09:33:47 +02:00
2015-03-03 12:36:18 +01:00
2015-01-20 17:33:05 +01:00
2015-03-03 12:36:18 +01:00
2014-05-15 21:28:19 +02:00
2013-01-09 00:49:50 +01:00
2013-01-06 18:20:27 +01:00
2015-08-20 23:02:28 +02:00
2013-01-06 18:20:27 +01:00
2015-06-15 09:02:46 +02:00
2015-03-17 13:57:37 +01:00
2013-03-12 10:58:20 +01:00
2015-05-18 08:57:18 +02:00
2014-12-09 15:43:51 +01:00
2014-10-13 16:33:47 +02:00
2015-07-14 01:25:36 -04:00
2015-05-22 16:26:14 +02:00
2015-05-12 09:46:53 +02:00
2013-11-27 22:46:55 +01:00
2015-03-24 23:47:01 +01:00
2013-07-15 16:53:43 +02:00
2015-06-17 07:43:13 +02:00
2014-12-30 13:10:30 +00:00
2015-03-16 15:01:15 +01:00
2015-01-20 17:33:05 +01:00
2013-01-09 00:49:50 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-09-26 23:10:20 +02:00
2014-07-23 00:01:39 +02:00
2014-08-31 23:50:01 +02:00
2013-01-09 00:49:50 +01:00
2015-03-17 13:57:37 +01:00
2013-01-09 00:49:50 +01:00
2015-10-15 23:22:21 +02:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2014-11-05 08:05:14 +01:00
2013-02-14 10:41:45 +01:00
2013-02-14 10:41:45 +01:00
2015-09-10 02:17:33 -04:00
2013-01-06 18:20:27 +01:00
2013-01-09 00:49:50 +01:00
2013-01-09 00:49:50 +01:00
2013-01-09 00:49:50 +01:00
2014-12-14 22:39:27 +00:00
2015-10-15 23:22:21 +02:00
2013-01-06 18:20:27 +01:00
2015-03-24 23:47:01 +01:00
2013-01-06 18:20:27 +01:00
2015-01-20 08:53:14 +01:00
2013-01-09 00:49:50 +01:00
2015-10-15 23:22:21 +02:00
2015-10-15 23:22:21 +02:00
2015-10-15 23:22:21 +02:00
2015-06-24 23:44:42 +02:00
2015-10-15 23:22:21 +02:00
2015-03-03 12:36:18 +01:00
2014-05-22 21:01:51 +01:00
2014-05-22 21:01:51 +01:00
2015-03-16 12:13:56 +01:00
2013-02-01 08:14:46 +01:00
2015-04-22 17:07:19 -04:00
2015-04-22 17:07:19 -04:00