1. 17 12月, 2019 1 次提交
  2. 12 12月, 2019 1 次提交
  3. 11 12月, 2019 4 次提交
  4. 09 12月, 2019 1 次提交
  5. 07 12月, 2019 1 次提交
  6. 04 12月, 2019 1 次提交
  7. 01 12月, 2019 1 次提交
  8. 30 11月, 2019 1 次提交
  9. 27 11月, 2019 1 次提交
    • L
      [NONE] · ad979353
      lihui 提交于
      ad979353
  10. 26 11月, 2019 1 次提交
  11. 22 11月, 2019 1 次提交
  12. 20 11月, 2019 2 次提交
  13. 19 11月, 2019 1 次提交
  14. 18 11月, 2019 1 次提交
  15. 16 11月, 2019 2 次提交
  16. 15 11月, 2019 1 次提交
  17. 12 11月, 2019 1 次提交
  18. 11 11月, 2019 2 次提交
  19. 07 11月, 2019 1 次提交
  20. 06 11月, 2019 1 次提交
  21. 31 10月, 2019 1 次提交
  22. 29 10月, 2019 1 次提交
  23. 11 10月, 2019 3 次提交
  24. 24 9月, 2019 1 次提交
  25. 16 9月, 2019 1 次提交
  26. 10 9月, 2019 1 次提交
  27. 29 8月, 2019 1 次提交
  28. 24 8月, 2019 1 次提交
  29. 23 8月, 2019 1 次提交
  30. 18 8月, 2019 1 次提交
    • weixin_48148422's avatar
      fix & enhancement for udp connection handling · 01bb110b
      weixin_48148422 提交于
      1. potential data race in `taosProcessMonitorTimer`:
      the issue does not exist at present because there's only one scheduler
      thread, which means there's no cocurrent calls to this function for a
      same `pMonitor`. but if more scheduler threads are created later,
      there's a data race issue in rare case. as threads number can be
      easily increased by increase the value of `taosTmrThreads`, it is very
      unlikely that the developer could realize this function need to be
      revised together. that's why i say it is a 'potential' issue.
      
      this issue happens in below scenario:
      a. scheduler thread1: `if (pSet)` is true and new timer is installed by
      `taosTmrReset`;
      b. scheduler thread1: `if (pMonitor->pSet == NULL)` is true but
      `taosTmrStopA` is blocked, either by the mutex of the timer or os thread
      scheduler.
      c. timer thread: 200ms elapse, new call to `taosProcessMonitorTimer` is
      initialized in scheduler thread2;
      d. scheduler thread2: `if (pMonitor->pTimer != tmrId)` is false;
      e. scheduler thread1: unblocked, stops timer and frees `pMonitor`;
      f. scheduler thread2: unexpected behavior because `pMonitor` is not
      valid any more.
      
      because the result of this issue is crash or worse, i suggest to fix it
      though the possibility of all the conditions are met is very very low.
      
      2. `pthread_attr_t` related issues: per manual, an initialized
      `pthread_attr_t` can be reused, should be destroyed, and the behavior of
      re-init it is undefined. this issue exist in other modules also.
      
      3. memory leaks;
      
      4. improve failure case handling of `taosInitUdpConnection`;
      
      5. typo
      01bb110b
  31. 08 8月, 2019 1 次提交
  32. 07 8月, 2019 1 次提交