maskit opened a new issue, #10207:
URL: https://github.com/apache/trafficserver/issues/10207

   ```
   359  while (!plugin_threads.shutdown) {
   360    try {
   361      if (!stek_initialized && ssl_param.pub) {
   362        // Launch a request for the master to resend you the ticket key
   363        std::string redis_channel = ssl_param.cluster_name + "." + 
STEK_ID_RESEND;
   364        ssl_param.pub->publish(redis_channel, ""); // send it
   365        TSDebug(PLUGIN, "Request for ticket.");
   366      }
   367      time(&currentTime);
   368      time_t sleepUntil;
   369      if (stek_initialized) {
   370        // Sleep until we are overdue for a key update
   371        sleepUntil       = 2 * STEK_MAX_LIFETIME - (currentTime - 
lastChangeTime);
   372        stek_initialized = false;
   373        check_count      = 0;
   374      } else {
   375        // Wait for a while in hopes that the server gets back to us
   376        sleepUntil = 30;
   377        ++check_count;
   378      }
        
   CID 1508971 (#1 of 1): Use of 32-bit time_t (Y2K38_SAFETY)
   1. store_truncates_time_t: A time_t value is stored in an integer with too 
few bits to accommodate it. The expression sleepUntil is cast to unsigned int.
   379      ::sleep(sleepUntil);
   380
   381      if (check_count == 0) {
   382        continue;
   383      }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to