Commits

Ruslan Osmanov  committed 392108c

Fix: TSRM context was not set in EventHttp::__construct (János Fekete)

  • Participants
  • Parent commits 0904c59

Comments (0)

Files changed (2)

File classes/http.c

 	http->data    = NULL;
 	http->cb_head = NULL;
 
+	TSRMLS_SET_CTX(http->thread_ctx);
 
 #if LIBEVENT_VERSION_NUMBER >= 0x02010000 && defined(HAVE_EVENT_OPENSSL_LIB)
 	if (zctx) {
     <email>remi@php.net</email>
     <active>yes</active>
   </contributor>
-  <date>2014-05-27</date>
+  <date>2014-06-20</date>
   <!--{{{ Current version -->
   <version>
     <release>1.10.2</release>
   <license uri="http://www.php.net/license">PHP</license>
   <notes><![CDATA[
     Fix: EventBufferEvent::read() accepted negative values
+    Fix: TSRM context was not set in EventHttp::__construct (János Fekete)
   ]]></notes>
   <!--}}}-->
   <!--{{{ Contents -->
       <license uri="http://www.php.net/license">PHP</license>
       <notes><![CDATA[
     Fix: EventBufferEvent::read() accepted negative values
+    Fix: TSRM context was not set in EventHttp::__construct (János Fekete)
   ]]></notes>
     </release>
     <!--}}}-->