]> granicus.if.org Git - curl/commitdiff
example/asiohiper: insert warning comment about its status
authorDaniel Stenberg <daniel@haxx.se>
Mon, 10 Sep 2018 15:42:39 +0000 (17:42 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 10 Sep 2018 15:42:39 +0000 (17:42 +0200)
This example is simply not working correctly but there's nobody around
with the skills and energy to fix it.

Closes #2407

docs/examples/asiohiper.cpp

index 9e0554f599dc22c1de332bdfebd6c35b18785a71..de1480507b78f9970c469d309a5a1cbe0b9db581 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2012 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
  *
  * This is purely a demo app, all retrieved data is simply discarded by the
  * write callback.
+ *
+ * ===========================================================================
+ * WARNING: This example program is known to have flaws:
+ * https://github.com/curl/curl/issues/2407
+ *
+ * It still kept in the example repository with the hope that it might be
+ * useful, and maybe some day someone who knows enough about boost::asio will
+ * read this text, accept the challenge and make the example code work
+ * correctly. Until then: expect this example program to fail occasionally.
+ * ===========================================================================
  */