Raised This Month: $12 Target: $400
 3% 

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 04-11-2021 , 22:52   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #571

I cant figure out why I keep getting a 301 error returned from my GET. All I'm wanting to do is run a PHP script that I pass a few parameters to.

I've tried:
  • Adjusting paths/URLs various ways
  • Using HTTP/1.1 vs HTTP/1.0
  • Removing the connection: close
    Various other edits

My source code (password removed) and the output are attached.

Is this related to that I have .htaccess redirect with 301 any http addresses to https? I tried it with that removed and didnt see a difference.

Any ideas on what else could cause this?

EDIT: I switched to using SteamWorks instead and that worked fine. Guess I'm done with socket extension...
Attached Files
File Type: sp Get Plugin or Get Source (togcreatewebfolder.sp - 238 views - 7.0 KB)
File Type: log test.log (1.3 KB, 162 views)
__________________

Last edited by ThatOneGuy; 04-17-2021 at 21:56.
ThatOneGuy is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 05-14-2021 , 04:22   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #572

git link in the OP is 404'ing

# curl -I "http://player.to/gitweb/index.cgi?p=sm-ext-socket.git"
HTTP/1.1 404 Not Found
Server: nginx
Date: Fri, 14 May 2021 08:23:08 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive

Last edited by canadianjeff; 05-14-2021 at 04:23.
canadianjeff is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 05-14-2021 , 05:56   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #573

Socket.inc is actually using old and depricated code

U:\programs\windows\SPCode.Portable\sourcepaw n\configs\sm_1_10_0_6478\include\socket.inc(2 03) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePa...yntax#Typedefs


gonna test this version https://raw.githubusercontent.com/Jo...ude/socket.inc

Last edited by canadianjeff; 05-14-2021 at 06:06.
canadianjeff is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 11-08-2021 , 10:13   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #574

is it possible to wrap an TLS/SSL connection with this extension on port 443??? HTTPS
canadianjeff is offline
hundunzhidian
New Member
Join Date: Mar 2017
Old 03-23-2023 , 22:15   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #575

how to set socket connect timeout?
i have seem SocketOption.there isn't have some options like connecttimeout
hundunzhidian is offline
matix
New Member
Join Date: Apr 2022
Old 03-26-2023 , 16:33   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #576

Has anyone been able to compile this for ARM64 before? if not, does anybody knows what steps should I follow to make the AMBuildScript compatible with this architecture?
matix is offline
Howardtw1984
New Member
Join Date: Jun 2023
Location: Dayton Ohio
Old 06-19-2023 , 07:48   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #577

Not sure if this is still alive or if anyone is doing anything with the coding on it... the post is so old?? if anyone is still working on this could they tell me if it would be possible to work on a paid dedicated server...?? thanks Can be reached on disco howard3335

Last edited by Howardtw1984; 06-19-2023 at 07:54.
Howardtw1984 is offline
delidolu1genc
Member
Join Date: Feb 2013
Location: Belgium
Old 09-13-2023 , 13:06   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #578

thanks
delidolu1genc is offline
Send a message via MSN to delidolu1genc Send a message via Skype™ to delidolu1genc
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode