Commit 51a024b5e91c2036d9a4b3ca1ce0ea8b397671b7

Authored by perry.werneck@gmail.com
1 parent afb23c90
Exists in master and in 1 other branch develop

Negociação SSL estava travando em windows

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
@@ -182,14 +182,14 @@ static gboolean IO_check(GSource *source) @@ -182,14 +182,14 @@ static gboolean IO_check(GSource *source)
182 */ 182 */
183 #ifdef _WIN32 183 #ifdef _WIN32
184 184
185 - fd_set rfds, wfds, xfds; 185 + fd_set rfds, wfds;
186 struct timeval tm; 186 struct timeval tm;
187 187
188 memset(&tm,0,sizeof(tm)); 188 memset(&tm,0,sizeof(tm));
189 189
190 FD_ZERO(&rfds); 190 FD_ZERO(&rfds);
191 FD_ZERO(&wfds); 191 FD_ZERO(&wfds);
192 - FD_ZERO(&xfds); 192 +// FD_ZERO(&xfds);
193 193
194 if(((IO_Source *) source)->poll.events & G_IO_IN) 194 if(((IO_Source *) source)->poll.events & G_IO_IN)
195 { 195 {
@@ -201,7 +201,7 @@ static gboolean IO_check(GSource *source) @@ -201,7 +201,7 @@ static gboolean IO_check(GSource *source)
201 FD_SET(((IO_Source *) source)->poll.fd, &wfds); 201 FD_SET(((IO_Source *) source)->poll.fd, &wfds);
202 } 202 }
203 203
204 - if(select(((IO_Source *) source)->poll.fd+1, &rfds, &wfds, &xfds, &tm) > 0) 204 + if(select(((IO_Source *) source)->poll.fd+1, &rfds, &wfds, NULL, &tm) > 0)
205 return TRUE; 205 return TRUE;
206 206
207 #else 207 #else